Goran Stoyanov
Goran Stoyanov

Reputation: 2311

Recover databases after upgrade to MySQL 5.7 on Mac OS?

I've updated the MySQL version from 5.5 to 5.7. After the update, I got my password reset (which is done by default) and I changed it back to the one I used before - all good!

The problem is that when I log into phpmyadmin and I don't see the databases that I had before the upgrade.

I'm pretty sure they are not lost, but since I'm not an expert with MySQL and OSX I need a piece of advice how to recover them.

Upvotes: 0

Views: 1952

Answers (1)

Danila Piatov
Danila Piatov

Reputation: 1311

The MySQL installer on macOS installs MySQL into /usr/local/mysql-version. It then makes a symlink to /usr/local/mysql. The old data is still there, in

/usr/local/mysql-5.6.../data

Upvotes: 2

Related Questions