I'm having a very weird problem right now, I reinstalled Wamp server (same version, same folder, everything is the same). But after I reinstalled it, my database got damaged. It shows that I don't have tables in my database even though the tables still show when I open my database on the left sidebar. Trying to exporting and importing the database only creates an empty database. I sadly didn't create a backup because I reinstalled wamp multiple times before without it damaging any fields or databases.
Here's a screenshot (My database's name is asd) :
http://i.imgur.com/5PKKXgK.png
Is there any way to repair this database ?
The last time I had that, I had to change ownership. This is how I did it in Linux.
chown -R mysql:mysql /var/lib/mysql/
In windows you can right-click the mysql database folder, in you case
C:\\wamp\\bin\\mysql\\mysql5.6.17\\data\\asd
And then go to Security Make sure all permissions are OK.
Then you can go to Advanced > Owner and make sure ownership,
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.