Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Don Macarthur28,430 Points
MAMP / phpMyAdmin Not Picking Up Table Data
I'm having major problems with my MAMP / phpMyAdmin setup and can't seem to find a solution for it.
A couple of weeks ago all of my sites on my local development environment which were connected to a database stopped working. Amongst a host of issues I've discovered is that although I can see all the databases and their corresponding tables in phpMyAdmin, the tables are all empty.
If I run any kind of SELECT * query from phpMyAdmin I get a 1146 error saying the table doesn't exist.
When I navigate to the root folder for all my databases (MAMP/db/mysqld56) I can see the folders for each database, and within each folder the .frm and .ibd files for all the tables.
Each of these files has a file size, so there is data in there somewhere.
How to I fix MAMP so that it is picking up the data from these files?
Thanks in advance for any help/suggestions. Don