Anonymous
Unregistered
Posted 7 years ago #
I've looked through this entire help section and noones resolved this issue :(!
when I load /wp-admin/install.php I get this error:
Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
Are you sure you have the correct user/password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
I've tried on 2 different mysql databases on 2 different servers, its not working!
I've assigned the user to the database and I know my mysql works cos I've got loads of other scripts that work fine in other databases! the server is running and I don't have the foggiest what the hostname is!! help me! this is dammned annoying!
Email the host for the details ?
If it's not localhost, it could be *anything*.
StupidScript
Member
Posted 7 years ago #
It looks like the user must be an actual user with a real password, not just a mySQL user. I was receiving the same error until I made a "real" wordpress user and password, then it all worked.
xenakes
Member
Posted 7 years ago #
How do you make a wordpress user if you can't get wordpress started?
xenakes
Member
Posted 7 years ago #
I figured out my problem. It seems I was part of the 1%. I had to change the DB_HOST field . My final settings were like this.
// ** MySQL settings ** //
define('DB_NAME', 'xenakes'); // The name of the database
define('DB_USER', 'xxxxxxxxxxx'); // Your MySQL username
define('DB_PASSWORD', 'xxxxxx'); // ...and password
define('DB_HOST', 'mysql.xenakes.com'); // 99% chance you won't need to change this value
I was thrown off because in my phpBB installs my DB_Name was in the DB_Host format. After this change everything worked fine.
Anonymous
Unregistered
Posted 7 years ago #