Error establishing database connection
I’ve been trying to install wordpress v 1.2, but kept getting this:
Error establishing a database connection! This probably means that the connection information in your 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?
my database name and username is inspers_minh and i’m currently hosted on a subdomain. i am very sure the database name and username are correct and that she has assigned my username to the database, since i’ve gotten my host to doublecheck for me.
the copy&paste that she has given me is:
Users in minh
inspers_minh (Privileges: ALL PRIVILEGES)
Perl $dbh = DBI->connect(“DBI:mysql:inspers_minh:localhost”,”inspers_minh”,”<PASSWORD HERE>”);
PHP $dbh=mysql_connect (“localhost”, “inspers_minh”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());
help, anyone? i can’t wait to get wordpress up and running on my site.
- The topic ‘Error establishing database connection’ is closed to new replies.