Another annoying Config Problem…
-
I entered everything into the config file and I keep switching them around but I still get this error:
“Error establishing a database connection! This probably means that the connection information in youn wp-config.php file is incorrect. Double check it and try again.
Are you sure you have the correct user/password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?”
Here’s my config.php thing:
<?php
/** WordPress’s config file **/
/** http://wordpress.org/ **/
// ** MySQL settings ** //
define(‘DB_NAME’, ‘wp’); // The name of the database
define(‘DB_USER’, ‘Kelly’); // 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_’
/* Stop editing */
$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;
define(‘ABSPATH’, dirname(__FILE__).’/’);
// Get everything else
require_once(ABSPATH.’wp-settings.php’);
?>
The topic ‘Another annoying Config Problem…’ is closed to new replies.