I tried install WordPress on local computer. I all way got the message: "Error establishing a database connection", but I can use the same username and password connect to MySQL through DOS command. On the wp-config.php, my script is:
// ** MySQL settings ** //
define('DB_NAME','wordpress'); // The name of the database
define('DB_USER','wpadmin'); // 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 */
I read a lot of review and advice in this site and it seem doesn't work for me. Please help me.
Thank you in advance.