Error establishing a database connection
-
Hi !
I’m kinda new to this forum and to wordpress installations in general so please tell me if I made a mistake posting here ! Any help is appreciated.
My situation :
I decided a hour ago to turn an old desktop pc I found into a web server. I’ve followed a few tutorials and turned it into a Ubuntu “lamp-server”.
I’m using Ubuntu 14.4, Apache 2 etc..
Everything is working great and I decide to install wordpress, following this tutorial : LINK. I’ve followed all the steps as described but I end up having a problem when it comes to acceeding to wordpress through my browser.
My problem :
When i try to get to https://192.168.XX.XX/wp-admin/install.php I get an error 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.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.So I checked my wp-config.php code, tried random inputs for database name etc… without success…
Can anybody help me out ?
I’m a newbie, so you would have to help me with commands etc…
My site : LINK
Thank you in advance !
- The topic ‘Error establishing a database connection’ is closed to new replies.