Title: Install Connection error
Last modified: August 18, 2016

---

# Install Connection error

 *  Anonymous
 * [21 years, 7 months ago](https://wordpress.org/support/topic/install-connection-error/)
 * I am trying to install WP1.2.1 on my Win98 box. I had and older version (I think
   it was 1.2) running without any useful blogdata in the db. So, before upgrading
   I dropped the WP database, and am trying to install the new version of WP.
    When
   go to the install.php I’m getting the _Error establishing a database connection!_
   error. I’m able to connect to the db from the command prompt but WP doesn’t seem
   to be able to connect. Any suggestions? Thanks. Apache/1.3.29 (Win32) DAV/1.0.3-
   dev PHP/4.3.6 MySQL 4.1.1a-alpha

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/install-connection-error/#post-103569)
 * Are you sure that the settings you entered into wp-config are correct?
 *  Thread Starter Anonymous
 * [21 years, 7 months ago](https://wordpress.org/support/topic/install-connection-error/#post-103570)
 * Yes, the username/password, db, and host are all confirmed to be correct. Could
   there be any other causes?
 *  Thread Starter Anonymous
 * [21 years, 7 months ago](https://wordpress.org/support/topic/install-connection-error/#post-103571)
 * Ok. Restarted MySQL and the connection was made successfully. But in the installation
   process (step 3) I see several errors similar to:
    Database error: [Access denied
   for user: ‘wpweb’@’localhost’ to database ‘wordpress’] ALTER TABLE `wp_categories`
   ADD `category_nicename` VARCHAR(200) NOT NULL But in the end it says: User setup
   successful! Now you can log in with the login “admin” and password “*******”.
   Is this normal?
 *  Thread Starter Anonymous
 * [21 years, 7 months ago](https://wordpress.org/support/topic/install-connection-error/#post-103572)
 * I think the last error I wrote about was because the db user wasn’t granted ALTER
   permission. Giving alter permission solved the error listing.
    Things seem to
   be working fine. The only problem is that the “side admin” cannot logout. Whenever
   I try to log out the site admin, the page goes to “compose” page again 🙁
 *  [midori](https://wordpress.org/support/users/midori/)
 * (@midori)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/install-connection-error/#post-103577)
 * Cookies, cookies, cookies 😉 Try to clear them all, and try again 🙂
    Btw, any
   admin reading that: make, somewhere (I could not find one) a liste of all tables
   + tables columns so that people with error during install can compare with what
   came in their installs ?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Install Connection error’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 3 participants
 * Last reply from: [midori](https://wordpress.org/support/users/midori/)
 * Last activity: [21 years, 7 months ago](https://wordpress.org/support/topic/install-connection-error/#post-103577)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
