Title: Missing the MySQL extension
Last modified: August 22, 2016

---

# Missing the MySQL extension

 *  Resolved [martin.li](https://wordpress.org/support/users/martinli-1/)
 * (@martinli-1)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/importing-wordpress-331/)
 * Hi,
 * I’m stuck with a problem of importing WordPress 3.3.1 to my new created LAMP 
   server. Details:
 *     ```
       [root@localhost wp-includes]# php -v
       PHP 5.3.3 (cli) (built: Oct 30 2014 20:12:53)
       mysql  Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1
       Server version: Apache/2.2.15 (Unix)
       ```
   
 * and packahes:
 *     ```
       [root@localhost wp-includes]# yum list |  grep php
       php.x86_64                               5.3.3-40.el6_6                 @updates
       php-bcmath.x86_64                        5.3.3-40.el6_6                 @updates
       php-cli.x86_64                           5.3.3-40.el6_6                 @updates
       php-common.x86_64                        5.3.3-40.el6_6                 @updates
       php-dba.x86_64                           5.3.3-40.el6_6                 @updates
       php-devel.x86_64                         5.3.3-40.el6_6                 @updates
       php-embedded.x86_64                      5.3.3-40.el6_6                 @updates
       php-enchant.x86_64                       5.3.3-40.el6_6                 @updates
       php-fpm.x86_64                           5.3.3-40.el6_6                 @updates
       php-gd.x86_64                            5.3.3-40.el6_6                 @updates
       php-imap.x86_64                          5.3.3-40.el6_6                 @updates
       php-intl.x86_64                          5.3.3-40.el6_6                 @updates
       php-ldap.x86_64                          5.3.3-40.el6_6                 @updates
       php-mbstring.x86_64                      5.3.3-40.el6_6                 @updates
       php-mysql.x86_64                         5.3.3-40.el6_6                 @updates
       php-odbc.x86_64                          5.3.3-40.el6_6                 @updates
       php-pdo.x86_64                           5.3.3-40.el6_6                 @updates
       php-pear.noarch                          1:1.9.4-4.el6                  @base
       php-pecl-apc.x86_64                      3.1.9-2.el6                    @base
       php-pecl-apc-devel.x86_64                3.1.9-2.el6                    @base
       php-pecl-memcache.x86_64                 3.0.5-4.el6                    @base
       php-pgsql.x86_64                         5.3.3-40.el6_6                 @updates
       php-process.x86_64                       5.3.3-40.el6_6                 @updates
       php-pspell.x86_64                        5.3.3-40.el6_6                 @updates
       php-recode.x86_64                        5.3.3-40.el6_6                 @updates
       php-snmp.x86_64                          5.3.3-40.el6_6                 @updates
       php-soap.x86_64                          5.3.3-40.el6_6                 @updates
       php-tidy.x86_64                          5.3.3-40.el6_6                 @updates
       php-xml.x86_64                           5.3.3-40.el6_6                 @updates
       php-xmlrpc.x86_64                        5.3.3-40.el6_6                 @updates
       php-zts.x86_64                           5.3.3-40.el6_6                 @updates
       cups-php.x86_64                          1:1.4.2-67.el6                 base
       graphviz-php.x86_64                      2.26.0-10.el6                  base
       php-pecl-apc-devel.i686                  3.1.9-2.el6                    base
       rrdtool-php.x86_64                       1.3.8-7.el6                    base
       uuid-php.x86_64                          1.6.1-10.el6                   base
       [root@localhost wp-includes]# yum list |  grep mysql
       mysql.x86_64                             5.1.73-3.el6_5                 @base
       mysql-libs.x86_64                        5.1.73-3.el6_5                 @updates
       mysql-server.x86_64                      5.1.73-3.el6_5                 @base
       php-mysql.x86_64                         5.3.3-40.el6_6                 @updates
       apr-util-mysql.x86_64                    1.3.9-3.el6_0.1                base
       bacula-director-mysql.x86_64             5.0.0-12.el6                   base
       bacula-storage-mysql.x86_64              5.0.0-12.el6                   base
       dovecot-mysql.x86_64                     1:2.0.9-7.el6_5.1              base
       freeradius-mysql.x86_64                  2.1.12-6.el6                   base
       libdbi-dbd-mysql.x86_64                  0.8.3-5.1.el6                  base
       mod_auth_mysql.x86_64                    1:3.0.0-11.el6_0.1             base
       mysql-bench.x86_64                       5.1.73-3.el6_5                 base
       mysql-connector-java.noarch              1:5.1.17-6.el6                 base
       mysql-connector-odbc.x86_64              5.1.5r1144-7.el6               base
       mysql-devel.i686                         5.1.73-3.el6_5                 base
       mysql-devel.x86_64                       5.1.73-3.el6_5                 base
       mysql-embedded.i686                      5.1.73-3.el6_5                 base
       mysql-embedded.x86_64                    5.1.73-3.el6_5                 base
       mysql-embedded-devel.i686                5.1.73-3.el6_5                 base
       mysql-embedded-devel.x86_64              5.1.73-3.el6_5                 base
       mysql-libs.i686                          5.1.73-3.el6_5                 base
       mysql-test.x86_64                        5.1.73-3.el6_5                 base
       qt-mysql.i686                            1:4.6.2-28.el6_5               base
       qt-mysql.x86_64                          1:4.6.2-28.el6_5               base
       rsyslog-mysql.x86_64                     5.8.10-9.el6_6                 updates
       rsyslog7-mysql.x86_64                    7.4.10-3.el6_6                 updates
       ```
   
 * When I create a new or imported WordPress 3.3.1, I receive following message:
 * `Your PHP installation appears to be missing the MySQL extension which is required
   by WordPress.`
 * On the other hand, I tested the lasts version of the WordPress and it works perfectly
   well.
 * Can someone please explain what and I missing since the latest version works 
   well but the old one is missing some php modules?
 * PS
    I plan to upgrade to the latest version after enabling the blog.
 * Please let me know.
 * Regards
    Martin

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

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/importing-wordpress-331/#post-5479880)
 * Find the line `extension=mysql.so` in your php.ini file and uncomment it. That
   will enable php to load the mysql extension. There should be notes in the php.
   ini file for that extension.
 *  Thread Starter [martin.li](https://wordpress.org/support/users/martinli-1/)
 * (@martinli-1)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/importing-wordpress-331/#post-5479961)
 * thanks. it didn’t exist therefore i created it an everything works well.

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

The topic ‘Missing the MySQL extension’ is closed to new replies.

## Tags

 * [MySQL extension](https://wordpress.org/support/topic-tag/mysql-extension/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [martin.li](https://wordpress.org/support/users/martinli-1/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/importing-wordpress-331/#post-5479961)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
