Error Establishing a database connection
-
Hello – I am having the classic “error establishing a database connection” problem! I am trying to move my site from a local MAMP server to a live server and am pulling my hair out. Here is the site now: https://www.patty-bakes.com. I see the same error on https://www.patty-bakes.com/wp-admin. I set up an MySQL database in my GoDaddy account and it gave me this information:
Database name and username: hmistler
Friendly Name: wordpress
Admin URL (phpMyAdmin): https://p3nlmysqladm002.secureserver.net/grid55/203
MySQL version: 5.5 (Direct access not allowed)
Status: Setup
Hostname: hmistler.db.11342499.hostedresource.comLastly, my wp-config.php looks like this:
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘hmistler’);/** MySQL database username */
define(‘DB_USER’, ‘hmistler’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘(I typed out my password here)’);/** MySQL hostname */
define(‘DB_HOST’, ‘50.62.109.1’);/** 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’, ”);I really have NO CLUE what I’m doing wrong, but I feel like I’m so close since at least I get this error message now and not some of the other more serious ones, haha. Please help!
- The topic ‘Error Establishing a database connection’ is closed to new replies.