Error establishing a database connection
-
I followed all the directions but when I try to launch WP (or connect it to the databese) I get an error establishing a database connection.
* I created a folder one step down from my root domain (so I can create/troubleshoot the site then move it later), then FTP’d the WP files into it: https://www.tsoup.com/schroeder
* I accessed my cPanel, created a database, username and password.
* Then I went to the www folder I created, signed into the WP-admin interface, got to the setup-configuration file page, added the database, username, password and localhost into the form, and I get an error message saying there is an error establishing a database connection.
* I called my web host just to be sure and they said that “localhost” is correct.So what could the error be from? Do I need to add some sort of prefix to the database name because it’s one step below the root domain? I can’t figure it out.
Thanks for your input!
- The topic ‘Error establishing a database connection’ is closed to new replies.