ezwis
Member
Posted 10 months ago #
I have gone in and edited the wp-config.php document but when I try to login and complete the installation i get this message:
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.
the Apache server is up and so is mysql.
Check that wp is in /mampp/htdocs. Can you read db in phpmyadmin.
Are you using default for db in config i.e. name =root, password none
Common error is putting wp name pass in config.php
also just in case xampp/mamp are throwing unusuals with some configs try 127.0.0.1 when db is created.
In your wp-config file, are you using the default database username and password? The default is root for both username and password.