Try as I may I can't find the data files for my MAMP installation!
FRM files are here:
/Applications/MAMP/db/mysql/database_name/
but, there are no corresponding MYD or MYI files anywhere.
The tables definitely have content.
Is it possible that this version of MySQL creates MYD/MYI files that are not the same as the table name? I've been at this for hours.
Any help is appreciated.
OS X Mavericks.
MySQL 5.5.34
+--------------------+---------+
| engine | tblsize |
+--------------------+---------+
| CSV | 0 |
| InnoDB | 16384 |
| MEMORY | 0 |
| MyISAM | 4096 |
| PERFORMANCE_SCHEMA | 0 |
| total | 0 |
+--------------------+---------+
6 rows in set, 1 warning (0.38 sec)
+--------------------------------+
| @@global.innodb_file_per_table |
+--------------------------------+
| 0 |
+--------------------------------+
1 row in set (0.00 sec)
+------------------------------+
| @@global.datadir |
+------------------------------+
| /Applications/MAMP/db/mysql/ |
+------------------------------+
1 row in set (0.00 sec)
Best Answer
MyISAM still uses
.MYD
and.MYI
.The only way you can see .frm files only and no other table file would be this:
ibdata1
)If you can log into MySQL, run this
These will fully reveal your data and storage engine situation.
UPDATE 2015-05-01 19:48 EST
Based on the output of the queries I gave you
@@global.innodb_file_per_table = 0
means all the table and index space for your InnoDB tables are inside/Applications/MAMP/db/mysql/ibdata1
To see your MyISAM tables, run this:
To see your MEMORY tables, run this:
To see your InnoDB tables, run this:
To get the count of the tables by engine:
To get the count of the tables by engine in each database: