Jump to content

Deleted PHP my SQL Database by Mistake.


Recommended Posts

Hello ,

By mistake I have deleted the php my SQL database of my store with 50+ products and 10 categories.

 

I am getting this error -

Quote

 

Link to database cannot be established: SQLSTATE[HY000] [1044] Access denied for user 'o358797'@'%' to database 'db5000371102'
at line 127 in file classes/db/DbPDO.php

122. public function connect() 123. {

 

Is there any way to attach a new database with my prestashop shop because I don't have the backup of prev. One .

Please help me.

Thanking you in Anticipation!

IMG_20200416_172634.jpg

Link to comment
Share on other sites

You could do this by modifying the DB credentials in app/config parameters.php but it won't do much good since all configurations, shop, theme and modules settings are kept in the DB which you lost.

You'll end up with your shop broken.

Alternatively, you could reinstall PS from scratch.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...