Error establishing a database connection
-
Alright guys, I am in desperate need for help.
Okay:
Today, I installed WordPress into my blog directory, read the readme, and configured the wp_config.php file. I saw I needed to set up a MySQL database, which isn’t a problem because it was fairly easy.
So, setting up said database, I had to use the prefix bonekhan_(text; I chose to use ‘blog’ after the underscore). Then, they asked for a password, which I inputted; no problem there either. A notice on the bottom of setting up the database said this: “Note: Database name is the same as the database username”
So, in wp_config this is what I put at the top 4 lines:
define(‘DB_NAME’, ‘bonekhan_blog’);
define(‘DB_USER’, ‘bonekhan_blog’);
define(‘DB_PASSWORD’, ‘*****’); //Omitted password for security purposes.
define(‘DB_HOST’, ‘localhost’);It still gets a Database Error, when trying to go to install.php. What am I doing wrong?!
Any help in this matter would be greatly appreciated.
Notes:
I have all of wordpress installed
I have set up wordpress on my host a long time ago, had to delete it and now I’m reinstallingThanks.
- The topic ‘Error establishing a database connection’ is closed to new replies.