error establishing a database connection – trying to install wordpress
-
after entering the information on the database form this message resulted:
the file ‘wp-config.php’ already exists. if you need to reset any of the configuration items in this file, please delete it first. you may try installing now.
then, after clicking on installing now, this was the next message:
warning: mysqli_real_connect(): (hy000/1045): access denied for user ‘‘root’’@’localhost’ (using password: yes) in /applications/mamp/htdocs/wordpresstest/wp-includes/wp-db.php on line 1444deprecated: mysql_connect(): the mysql extension is deprecated and will be removed in the future: use mysqli or pdo instead in /applications/mamp/htdocs/wordpresstest/wp-includes/wp-db.php on line 1474
warning: mysql_connect(): access denied for user ‘‘root’’@’localhost’ (using password: yes) in /applications/mamp/htdocs/wordpresstest/wp-includes/wp-db.php on line 1474
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 localhost. 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?
if you’re unsure what these terms mean you should probably contact your host. if you still need help you can always visit the wordpress support forums.
The topic ‘error establishing a database connection – trying to install wordpress’ is closed to new replies.