Error establishing a database connection
-
I try to install wordpress locally.
I’ve downloaded and successfully installed xampp and the latest build of wordpress. I copied and extracted wordpress under the htdocs folder.
I’ve started apache and mysql modules. Then, according to the instructions, i renamed and updated the wp-config.php like this:define(‘DB_NAME’, ‘wordpress’);
define(‘DB_USER’, ‘root’);
define(‘DB_PASSWORD’, ‘root’);
define(‘DB_HOST’, ‘localhost’);
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ‘utf8_general_ci’);Then i created a new database using phpmyadmin. My database name is wordpress. I didn’t create any tables.
When i try to install my new wordpress blog (http://localhost/wordpress/wp-admin/install.php), i get a connection error (Error establishing a database connection).
Any ideas???
The topic ‘Error establishing a database connection’ is closed to new replies.