Jump to content

Link to database cannot be established.


Recommended Posts

Hello all,

Have suddenly started seeing this error on my prestashop 1.3.1 website. Everything was working fine, don't know what happened.

I read this thread: http://www.prestashop.com/forums/viewthread/60384/

and have created a new user/password for the DB and changed the settings.inc.php accordingly, but it didn't make any difference. The database name is the same, I've done an error check on the DB from the cPanel and it was fine, I'm also able to administer the DB from phpMyAdmin so I've no clue why this error would come up.

Would be grateful if someone can help resolve this issue.

Thanks.

Link to comment
Share on other sites

  • 1 month later...

I also had the problem; “Link to database cannot be established”.

As proposed here and elsewhere, I changed the password in config/settings.inc.php manually back to the emailed password, but I still could not enter the site or the admin-page.

The solution for me was to change the password (also) of the database (mySql or php -I forgot) through my webhosting admin site (one.com).

PreHistory:
After I received a mail with a new password I got in to admin-page. As soon as I entered a new password in Tools/Preferences, I got kicked off with “Link to database cannot be established”.

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...