• Resolved redtruck

    (@redtruck)


    I had WordPress 1.5.1.1 installing with one click through cPanel on an Apache server, then it stopped working. After several efforts to find help on the cPanel forum, my hosting techs and this forum, I decided to start with a fresh install in a fresh hosting account. When run the wp-admin/install.php program, I get the “Error establishing a database connection” error. My server is up. I’ve double-checked the database name, username, password, and the host name is “localhost.” PHP Version is 4.3.11, MySQL Version is 3.23.49, Zend Version is 2.5.7. Permissions for the 4 wp- folders is 755. Permissions for the files are 644. suexec is disabled. I don’t know what other information to give you. WP worked before on this server with one-click installs. Now it doesn’t work at all. MySQL is working for other applications I have on this server. If I need to check anything else on this server, please give specific instructions. I really appreciate any help you can give me. Thanks, Bob

Viewing 8 replies - 16 through 23 (of 23 total)
  • Since this thread is marked “resolved,” would I be better off posting my issue in a new thread? I’ve followed the codex to the letter, have confirmed necessary configs with my hosting service and have validated simple PHP-MySQL connections. I don’t see what else could be wrong unless there’s something up with this build of WP and the specific versions of MySQL and PHP I’m using. Any assistance that can be provided would be greatly appreciated.
    thanks- Jed

    Jed – do you use cpanel / vdeck / plesk / ensim ?

    It’s probably that the database and database username have not been connected.

    Thanks for the reply, Podz.

    According to the host’s documentation, they use H-Sphere control panel system, not any of the 4 you’ve mentioned.

    Unless I’m mistaken, I’m pretty sure the user has been correctly connected or “added” to the database- I can login to the database using the username and password I setup initially and run SQL queries on the database through phpMyAdmin. Am I missing something else? Should I try starting from scratch again?
    Thanks again.

    I can’t see what you are missing – you look to have worked through it all, and as such you could try a reinstall but you may hit the same wall.
    Has any whitespace crept into the data above ?
    Can you ask your host what data they would complete without telling them what you have done (so they actually look rather than just saying “Yeah that looks right”)

    I’ll try a session with websitesource and see what they say. Otherwise, I’m open to letting you poke around in my host account, if necessary.
    – Jed

    If you want to email me – tamba2 @ gmail . com

    ??

    Hi. Me again. So now the story gets more convoluted… I was using DreamWeaver to upload files through its built-in FTP tool, and I think it wasn’t sending properly. The wp-config.php file I had on my host was totally wrong. Even so, after having changed it (through another channel) and verified that it looks correct, I still can’t get WP to not give me the “error connecting” msg.

    Issue resolved. I went into my control panel and changed the db user’s password to something simpler and did the same in the wp-config.php file. It seems to have rectified whatever issues were causing the script to fail in the past. Thanks for all of your help, Podz.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Database connection problem’ is closed to new replies.