WordPress.org

Support

Support » Installation » wp-config.php troubles

wp-config.php troubles

  • 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.
    Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The web and mysql servers are running?

    I’m certain–I look up the status tab on phpMyAdmin and it says mySQL is running and since I can visit my web site I know the web server running.

    I used the FTP program Fetch to upload the wordpress directory to my website…do you have to do anything special when uploading it for it to work? Like CHMOD or something?

    Are we sure we need the mysql admin name . That is the point of defining a user. And activating him.

    Okay…so I made a new user in phpMyAdmin, and give the user all privileges. Then I edited wp-config.php and gave it the username and password of the user I just created. But install.php is still having a problem.
    …What does activating mean?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wp-config.php troubles’ is closed to new replies.