Error establishing a database connexion
-
Hello,
Sorry for this common error, but I’ve checked lots of articles, tutorials and forums and I can’t solve this problem.
The situation is similar to this one : https://www.ads-software.com/support/topic/error-establishing-database-connection-129/I have a site working whithout wordpress using OVH. I am making a new site with WP using a local DB. I’d like to move the tables from local to live, where the current site is hosted.
I imported my database from a localhost export.
I edited wp-config.db with the correct “dbname” and password.define( ‘DB_NAME’, ‘dbname’ );
define(‘DB_USER’, ‘dbname’);
define(‘DB_PASSWORD’, ‘*****’);
define(‘DB_HOST’, ‘dbname.mysql.db’);I know the user, password and host are corrects because I can connect to the DB with pypmyadmin. The server is not down because the current site has no problem with it. And all the tuto using ovh have this kind of wp-config.db.
I can’t see where does the problem come from.
- The topic ‘Error establishing a database connexion’ is closed to new replies.