Copy a database from old WAMP installation folder to another

I just install a fresh copy of WAMP, and I want to import couple of databases from the old one to the new one, so I entered to the old mysql data directory C:wamp-oldbinmysqlmysql5.7.14data, and copy the relevant databases there to the new data directory. But when I try to access the tables in phpmyadmin, I get a message saying that the tables aren’t exists, but they do:
enter image description here

What am I missing?


You forgot to copy the ibdata file. enter image description here

Leave a Reply

Your email address will not be published. Required fields are marked *