Want to open .frm file from MySQL Workbench to see models of a database design.
I am using File -> Open Model ..., but cannot select .frm file.
Does anyone have any thoughts?
Want to open .frm file from MySQL Workbench to see models of a database design.
I am using File -> Open Model ..., but cannot select .frm file.
Does anyone have any thoughts?
Mysql workbench is not designed to open .frm files directly to retrieve table information. It can reverse engineer a database structure from DDL script (create table commands) or by connecting to a database on a mysql server (commercial version only).
So, import the table into a database on your mysql server, run show create table tablename
command to get the DDL statement for the table, and you can reverse engineer the structure in mysql workbench using this statement.
While it is not possible to open them directly in MysqlWorkbench you can restore the database if that's what you need.
Mysql requires both the .frm file and the .myd file to recognize it according to fileinfo
Another option would be mysqlfrm