Error establishing a database connection!
-
Seen this title a lot in the forum, but the answers to other people’s problems haven’t helped me.
I’m trying to install WordPress on my local PC. I like what I’ve seen and read about WP, so I wanted to test it thoroughly and attempt adapting it to my site locally before uploading it.
My setup is:
Win2000 SP4
Apache 1.3.20
PHP 4.3.9
MySql 4.1
WordPress 1.2.1
I used MySQLAdministrator 1.0 to snoop around the database. Nowhere did I find whatwp-config.php
calls a database name. So I assumed what was wanted is what MySQLAdministrator calls a schema. I setup a schema calledwordpress
. Then I setup a user calledadmin_de
, and granted all database privileges on wordpress to admin_de. Then I filled inwp-config.php
as follows:
define('DB_NAME', 'wordpress');
define('DB_USER', 'admin_de');
define('DB_PASSWORD', '****');
define('DB_HOST', 'localhost');
Needless to say, this didn’t work, which is why I’m writing this post. I also tried root and the original MySql password, but this didn’t work either. When installing MySql I had chosen Latin-1 encoding and ISAM tables. Was this wrong? Should it be UTF-8?
I would be very grateful for any help
- The topic ‘Error establishing a database connection!’ is closed to new replies.