Support » Installing WordPress » Install problem – don’t see answer here?

  • I have my site hosted on a server running linux, php 4.3.3 and mysql 4.0.18
    I have successfully installed Movable Type, PHP-Nuke and several other programs here but am having fits with the install of WordPress 1.0.2
    1. install-config.php won’t run at all. I’ve changed the permissions, etc. Still won’t work so I config’d wp-config.php by hand.
    2. I set up a new mysql db, username, password, etc – put all the info in the correct areas of the wp-config-sample.php and changed name to wp-config.php and the result is:
    Error establishing a database connection! This probably means that the connection information in youn wp-config.php file is incorrect. Double check it and try again.
    Are you sure you have the correct user/password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    I’ve checked and triple checked all of my info. I even set up yet another mysql database with new user and new password just in case. I still get the same result.
    Any suggestions? I’m very frustrated right now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • merlene,
    When I set up WP for the first time, I made a simple mistake that drove me nuts. When I created the database, I also created the user. What I did NOT do, however, was ensure that the user was a member of the database. Have you ensured that the user is a member of your database? If the user is not, then simply make it a member, and off you go.
    However, if that is not the case, then please post back and we’ll see if we can find another solution.

    MySQL is a funny animal…. I know that (at least on my test machine) when I add a new DB user, I have to re-start mySQL. On my live site, I usually have to wait a couple of hours before the host system refreshes itself and the new DB user is picked up. I have experienced this on several hosts with a variety of front ends (and not just WP).
    merlene, having it in a sub dir isn’t/shouldn’t be the issue. I ran mine at home that way for the longest time w/o incident.

    Hi TG
    I’ve tried using this db and user info using another program this morning and it connected fine but still won’t seem to work with WP.

    @merlene: Sounds like you have quite a bit of experience and these suggestions are based on that assumption:
    1) Reupload all the files. I have seen cases where some crucial files were missed and there were goofy problems with the install.
    2) Sounds like you are pretty sure of the config. So I am not going to touch on that. I had MarkP having a similar problem but that was related to php/MySql connections. Download this file and rename the required variables in there and run it from a browser.
    If this file works, there is no reason that WP will fail. If there is a problem with this file, report the error code on here (or email me if you would like)

    I took your advice and uploaded all the files again and all is working well this time.
    Thanks to everyone for their help!

    I got same problem. I fixed the problem by stop and restart mySQL

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Install problem – don’t see answer here?’ is closed to new replies.