Meier Posted January 28, 2016 Share Posted January 28, 2016 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 More sharing options...
bellini13 Posted January 28, 2016 Share Posted January 28, 2016 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. Link to comment Share on other sites More sharing options...
Meier Posted January 29, 2016 Author Share Posted January 29, 2016 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 More sharing options...
bellini13 Posted January 29, 2016 Share Posted January 29, 2016 did you do what it said? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now