WordPress.org

Ready to get started?Download WordPress

Forums

Installing on a university web account (5 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    Hello. I'm new to wordpress, and to web development, but I have decided to put a blog on my student web account. University of Washington has PHP but they make you set up mySQL on your own with detailed instructions (http://www.washington.edu/computing/web/publishing/mysql-install.html)
    Followed the instructions, got mySQL up and running on my web space and phpMyAdmin to manage it. Then I made a new database called "blog" using phpMyAdmin.
    However, I have yet to get wordpress to install. I use these settings (but have changed them around to test it)
    define('DB_NAME', 'blog'); // The name of the database
    define('DB_USER', 'root'); // Your MySQL username
    define('DB_PASSWORD', '****'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    but every time I go /wp-admin/install.php I get :
    "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."
    What am I missing? Should I try making a new mySQL user account rather then using root?

  2. lanth
    Member
    Posted 9 years ago #

    At a guess, you might need to change the db_host value. Looks like maybe y0ur host should be 'ovid.u.washington.edu' or 'vergil.u.washington.edu'. Worth a shot anyways.

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    Thanks for the quick reply. Yes, I have tried those host names, and have also tried making a new mysql account called "wordpress" with a different password from root with full permisions, and put it on wp-config.php, but still nothing. Would browser cache possibly be causing problems? If install doesn't work the first time, should I erase the cashe before trying again?

  4. Many universities (mine include) have installed some sort of thing that blocks you from doing anything dynamic on their servers unless it's specially activated for you individually. By "dynamic" I mean PHP and CGI.

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    Problem resolved! I found a wordpress user on the uw student web sever who was most helpful.
    In the db_host value, you have to specify the port along with the server name.
    'DB_HOST', 'vergil.u.washington.edu:12345'

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.