MySQL upgrade to 8.0 deleted my old data?

556 views Asked by At

After installing MySQL 8, it started the server automatically and when I opened up MySQL Workbench, my tables were gone.

It says in the doc to start the server like so after installing it:

mysqld_safe --user=mysql --datadir=/path/to/existing-datadir &

However, I did not take note of the datadir path of my previous installation and as I said, the server automatically started once the installation was done, so I could not run this command.

How can I run the mysqld_safe and specify my old data? Where is my old data?

0

There are 0 answers