Moving WordPress
-
Hi,
I’m in the process of moving a website by following the advice of https://codex.wordpress.org/Moving_WordPress.
However, I get the following error message:
———————————————————————————————
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘‘joelightfm’’@’localhost’ (using password: YES) in /var/www/vhosts/newboldnsa.co.uk/test.newboldnsa.co.uk/wp-includes/wp-db.php on line 1416
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at 127.0.0.1. This could mean your host’s database server is down.Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
———————————————————————————————I’ve checked, double checked and tripple checked and the db name, username and password are all correct.
I’ve tried changing ‘localhost’ to ‘localhost:3306’ and even 127.0.0.1 but none of this has helped.
Can someone please help?
Thanks!!
The topic ‘Moving WordPress’ is closed to new replies.