Search code examples
mysqlwamp

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-old\bin\mysql\mysql5.7.14\data, 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?


Solution

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