Jump to content

Database Error After Upgrading With 1-Click Upgrade


Recommended Posts

After upgrading from 1.4.x to 1.6.x with the prestashop 1-click upgrade module i recieved an error when trying to start the shop:

 

Link to database cannot be established: SQLSTATE[HY000] [2002] No such file or directory

 

Anybody any idea?

 

Thanks!

Link to comment
Share on other sites

confirm the database connection settings in config/settings.inc.php

 

if it says localhost, try to change it to the server ip address or hostname.

Nice! Thanks. That works.

Bring me to the next problem:

 

Link to database cannot be established: SQLSTATE[HY000] [2000] mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file

 

But i can also start a new topic?

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