Error establishing database connection
-
I’m getting the page that says:
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.https://support.webhostingpad.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=36
didn’t seem to help.
I’ve tried mydomain.com, https://mydomain.com, localhost, the FTP hosting IP address I got from WebHostingPad when I registered, 127.0.0.1 just to give myself some time to think, and probably a couple others I forgot. I’ve tried moving the install around as well. I’ve checked the user and dbname over and over, too.
I even tried using both WordPad and Notepad, saving it as UTF8.
The hostname I type in always shows up on the error page.
I looked, too, and couldn’t find any good posts here related, either. I am stumped.
Here’s what I have (the domain is futuregramma.net, the user is just ‘dev’, and I’ve substituted the password):
/** The name of the database for WordPress */ define('DB_NAME', 'futuregr_wp'); /** MySQL database username */ define('DB_USER', 'futuregr_dev'); /** MySQL database password */ define('DB_PASSWORD', 'Password'); /** MySQL hostname */ define('DB_HOST', 'localhost'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8'); /** The Database Collate type. Don't change this if in doubt. */ define('DB_COLLATE', '');
Thanks ahead of time.
- The topic ‘Error establishing database connection’ is closed to new replies.