Nick,
Don’t post your password! (I replaced it with ****)
Things to check:
– Make sure that your DB_USER is a member of the database with full privileges.
– Make sure that you can use localhost as it’s possible you’re one of the 1% that need something else there.
Here is the response from Godaddy Support–it appears that this is a dead issue as far as installing WordPress is concerned, and should be a warning to other customers or potential customers of Godaddy…:
Dear Nick Easton,
Thank you for contacting customer support. Due to security issues we do not allow outside access to our databases. The only way to access your database is via script from your hosting account or via the Online Manager (phpMySQLAdmin/MSSQLAdmin) interface.
If the password was still there, you would of had more mysql problems *If you know what I mean. Heh*.
GoDaddy does not have a good history on these forums.
http://wordpress.org/support/search.php?q=godaddy
No.
GoDaddy do not appear to be wrong from my experience.
The vast majority of hosts, for sound security reasons, will not allow access to their databases from anywhere other than areas that they are happy are secure. The 3 hosts I have right now act in exactly this way and I am totally happy that this is the case.
The reply from GoDaddy above is good – why exactly is it not ? I would guess that this is because of how space or a service has been sold.
As an aside, right now I have mySQL running on my machine. Would it be a good idea to open the ports up so anyone can connect ? I think not.
What did I do wrong?
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘plbeane94’); // The name of the database
define(‘DB_USER’, ‘plbeane94’); // Your MySQL username
define(‘DB_PASSWORD’, ‘******’); // …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’);
?>
I don’t know, plbeane94, what did you do? All I see here is quoted wp-config.php file.
How so? Do you see any errors?
nope.
it’s saying it cant contact localhost.
Then something is wrong with either localhost, or your DB_HOST is not localhost.
isn’t GoDaddy’s Database Host ‘localhost’?
No .. it’s usually something like mysql34.secureserver
it lists it when the db has been created.
Now this is what shows up after I login at plbeane94.com/wordpress/wp-login.php:
Warning: Cannot modify header information – headers already sent by (output started at …………….