Moderator
James Huff
(@macmanx)
Volunteer Moderator
Did you correctly enter the values into wp-config.php? Can you confirm that you can access your database host with your username and password via your browser?
http://codex.wordpress.org/Editing_wp-config.php
http://codex.wordpress.org/Installing_WordPress#Detailed_Instructions
Also, if your host is using MySQL v4.1.7 (a flawed release), you will see the error message that you are seeing now.
http://codex.wordpress.org/Answers-Installation#MySQL_4.1.7
This how my wp-config.php reads:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘blog’); // The name of the database
define(‘DB_USER’, ‘author’); // 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’);
?>
of course the password has been blanked for this.
PHP version 4.3.9
MySQL version 4.0.22-standard