WordPress.org

Ready to get started?Download WordPress

Forums

wp-config.php troubles (6 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    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?

  2. Root
    Member
    Posted 10 years ago #

    The web and mysql servers are running?

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    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.

  4. Anonymous
    Unregistered
    Posted 10 years ago #

    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?

  5. Root
    Member
    Posted 10 years ago #

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

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.