Page 1 of 1

Link to WordPress lost

PostPosted: 13. December 2020 03:11
by robertothai
Hi,

I am using XAMPP for having WordPress on local host.

I had a problem with MySQL shutdown unexpectedly. I solved the problem by going to C:\xampp\mysql\data. I renamed the data folder, then I created a new data folder and copied all files from the backup folder to this new data folder. After that MySQL could be started again in XAMPP.

However, when I now try to access WordPress as before via http://localhost/name/wp-admin/, then I get an Error message Can’t select database.

Please could anyone help me to re-establish the connection?
Thanks a lot in advance and best regards,

Robert

Re: Link to WordPress lost

PostPosted: 15. December 2020 22:02
by SecCon
i am not very familiar with mysql storage structure, but it seems to me all the data pertaining to mysql datbases are stored there, at least it looks that way in my envireonment. From that I concludeely you deleted everything

https://www.ibm.com/support/knowledgecenter/en/SSB23S_1.1.0.15/gtpm7/m7dirstruct.html