Title: MySQL Problem
Last modified: August 19, 2016

---

# MySQL Problem

 *  Resolved [jmiked](https://wordpress.org/support/users/jmiked/)
 * (@jmiked)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/mysql-problem-5/)
 * I am trying to Install on Red Hat EL 4 and have MySQL 4.1.22 running.
 * When I start the install for WordPress I get the following message:
    Your PHP
   installation appears to be missing the MySQL extension which is required by WordPress.
 * I have done an up2date php* and mysql*. Anyone have any idea what package I might
   be missing?
 * I did not have this problem in Fedora but, this is my wifes business machine 
   so I have to keep Red Hat on it.

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

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/mysql-problem-5/#post-1290168)
 * This might do it: run phpinfo to see where your php.ini file is. Make a plain
   text file and call it phpinfo.php and put just this line in it:
 * `<?php phpinfo(); ?>`
 * then put the file in the root of your server, and then go to that file with your
   web browser. Find ‘Loaded Configuration File’. This will tell you the php.ini
   that is being used.
 * and uncomment this line and remove the preceding semicolon:
 * `extension=php_mysql.dll`
 *  Thread Starter [jmiked](https://wordpress.org/support/users/jmiked/)
 * (@jmiked)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/mysql-problem-5/#post-1290172)
 * Thanks songdogtech, did as you suggested and have now proceeded to another problem.
 * Now the message is:(pasting in the view source)
 * <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
   
   <html xmlns=”[http://www.w3.org/1999/xhtml&#8221](http://www.w3.org/1999/xhtml&#8221);
   > <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /
   > <title>WordPress › Error</title> <link rel=”stylesheet” href=”css/install.css”
   type=”text/css” /> </head> <body id=”error-page”> <p> <h1>Error establishing 
   a database connection</h1> <p>This either means that the username and password
   information in your `wp-config.php` file is incorrect or we can’t contact the
   database server at `localhost`. This could mean your host’s database server is
   down.</p>
    - Are you sure you have the correct username and password?
    - Are you sure that you have typed the correct hostname?
    - Are you sure that the database server is running?
 * <p>If you’re unsure what these terms mean you should probably contact your host.
   If you still need help you can always visit the [WordPress Support Forums](http://wordpress.org/support/).
   </p>
    </p></body> <!– Ticket #8942, IE bug fix: always pad the error page with
   enough characters such that it is greater than 512 bytes, even after gzip compression
   abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz11223344556677889900abacbcbdcdcededfefegfgfhghgihihjijikjkjlklkmlmlnmnmononpopoqpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx1yyz2z113223434455666777889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jkj5lkl6kml7mln8mnm9ono–
   >
 * MySQL is running and the database name, username and password are correct in 
   the config file. Scratches head and mumbles.
 * </html>
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/mysql-problem-5/#post-1290179)
 * I don’t need to see the source of the page. Your password or database name is
   wrong. Use PHPMyAdmin to check on the databse name, as well as your write privledges
   for the database. You might need to reset the root passowrd for MySQL.
 *  Thread Starter [jmiked](https://wordpress.org/support/users/jmiked/)
 * (@jmiked)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/mysql-problem-5/#post-1290205)
 * Got lazy with the ctrl+a songdogtech. I have redone all the passwords and retyped
   the install.php fields and nothing changed.
 * I can get into MySQL from Webmin for remote admin.
 * I even tried making the user root using the root password.
 * I am beginning to think is has to be something with Red Hat. I checked and my
   setup as far as I can tell is identical with my Fedora 10 system which has a 
   site up and running.
 * I am baffled to say the least.
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/mysql-problem-5/#post-1290207)
 * Are you using Xampp [xampp for linux](http://www.apachefriends.org/en/xampp-linux.html)
   or rolling your own?
 * Try: [MySQL :: MySQL 5.1 Reference Manual :: How to Reset the Root Password](http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html)
 *  Thread Starter [jmiked](https://wordpress.org/support/users/jmiked/)
 * (@jmiked)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/mysql-problem-5/#post-1290212)
 * Rolling my own straight from the Red Hat repositories. Do the same with Fedora(
   X) and have no problems.
 * Just would hate to take my wife’s business applications o=ff of a stable platform
   like Red Hat. I may look into xampp if research shows that might be the answer.
 * You have any experience with the xampp package?
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/mysql-problem-5/#post-1290274)
 * I don’t use xammp or mamp; I installed everything from scratch under OS X. But
   xammp makes things easy; I’d try it rather than fighting with building from source.
 *  Thread Starter [jmiked](https://wordpress.org/support/users/jmiked/)
 * (@jmiked)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/mysql-problem-5/#post-1290378)
 * Finally found it. If you load Webmin 1.500 the MySQL manager has a tab to change
   the Admin password for MySQL. It works and does not make typos.
 * Call this closed and a good tip!

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

The topic ‘MySQL Problem’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 8 replies
 * 2 participants
 * Last reply from: [jmiked](https://wordpress.org/support/users/jmiked/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/mysql-problem-5/#post-1290378)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
