no database connection / godaddy / config.php
-
Hi there.
I’ve been reading the many posts concerning godaddy (it works for some, therefore it can work), the config.php file, etc. i’m getting the ‘can’t connect to database’ error.
my config.php looks like this:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘*****’); // The name of the database
define(‘DB_USERNAME’, ‘*****’); // Your MySQL username
define(‘DB_PASSWORD’, ‘xxxxx’); // …and password
define(‘DB_HOST’, ‘mysql69.secureserver.net’); // 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_’I have also ‘commented out’ the ‘die’ line as suggested by a poster to stop the other mysql error message that was coming up, ie
//if ( !extension_loaded(‘mysql’) )
//die( ‘Your PHP installation appears to be missing the MySQL which //is required for WordPress.’ );in the settings.php file.
i have checked EVERYTHING. i have tried ‘localhost’ and the server IP for ‘localhost’ but according to most posts here concerning godaddy, it needs to be as I have it, that is taken from the database manager settings. username and pass of course are correct.
still getting the ‘can’t connect to database’ error.
godaddy support is terrible, they have not helped at all.
any suggestions?
cheers
- The topic ‘no database connection / godaddy / config.php’ is closed to new replies.