Error establishing a database connection
-
GoDaddy is my host.
I have set up the config file. Uploaded it all to my site… but I’m getting the error establishing a database connection..Is there anything special about GoDaddy that makes this stuff not work?
Pulling my lil bits of hair out, aiyiyi. I’ve uploaded, tried it.. deleted.. reuploaded again..
______
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘mysql47.secureserver.net’); // The name of the database
define(‘DB_USER’, ‘phonesexdigest’); // Your MySQL username
define(‘DB_PASSWORD’, ‘xxxxx’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value// Change the prefix if you want to have multiple blogs in a single database.
$table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ”);/* Stop editing */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>
_________
- The topic ‘Error establishing a database connection’ is closed to new replies.