I go to install.php and get “Error establishing a database connection!”
I’m at my wits end here. What I’m trying to do is use wordpress in my university student web space. You have to install mySQL yourself, but they have detailed instructions and so I now have mySQL, with an admin username and password. Then they had instructions for setting up phpMyAdmin, so I went and did that. Using phpMyAdmin, I now have a database named “wordpress” with full access privileges for both root users (btw, why are there 2 “root” users in the first place?).
So in my wp-config.php file I’m using “wordpress” for the database name and mySQL admin username and password. The only thing I’m not 100% sure about is the Host name. This is why I’m curious about the 2 root users, because they have different hosts. one root is host: (my server name) and the other is host: localhost. I’ve tried both, and neither seem to work.
This is the first time I’ve ever done any of this–without full step-by-step command prompt instructions, I wouldn’t have mySQL or phpMyAdmin running in the first place. I want to try removing “leading spaces from the variables,” but I’m not exactly sure what that means. I have tried removing all comments and spaces, but to no avail.
- The topic ‘wp-config.php troubles’ is closed to new replies.