Loaded plugins: fastestmirror Determining fastest mirrors * addons: mirror.web-ster.com * base: mirrors.cat.pdx.edu * extras: mirrors.usc.edu * updates: mirrors.kernel.org addons | 951 B 00:00 addons/primary | 201 B 00:00 base | 2.1 kB 00:00 base/primary_db | 1.6 MB 00:09 extras | 1.1 kB 00:00 extras/primary | 107 kB 00:00 extras 325/325 updates | 1.9 kB 00:00 updates/primary_db | 235 kB 00:00 Setting up Install Process Package mysql-5.0.77-3.el5.i386 already installed and latest version Package mysql-server-5.0.77-3.el5.i386 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package mysql-devel.i386 0:5.0.77-3.el5 set to be updated --> Processing Dependency: openssl-devel for package: mysql-devel --> Running transaction check ---> Package openssl-devel.i386 0:0.9.8e-12.el5 set to be updated --> Processing Dependency: zlib-devel for package: openssl-devel --> Processing Dependency: krb5-devel for package: openssl-devel --> Running transaction check ---> Package krb5-devel.i386 0:1.6.1-36.el5 set to be updated --> Processing Dependency: libselinux-devel for package: krb5-devel --> Processing Dependency: e2fsprogs-devel for package: krb5-devel --> Processing Dependency: keyutils-libs-devel for package: krb5-devel ---> Package zlib-devel.i386 0:1.2.3-3 set to be updated --> Running transaction check ---> Package e2fsprogs-devel.i386 0:1.39-23.el5 set to be updated ---> Package keyutils-libs-devel.i386 0:1.2-1.el5 set to be updated ---> Package libselinux-devel.i386 0:1.33.4-5.5.el5 set to be updated --> Processing Dependency: libsepol-devel >= 1.15.2-1 for package: libselinux-devel --> Running transaction check ---> Package libsepol-devel.i386 0:1.15.2-2.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================== Package Arch Version Repository Size ======================================================================================================== Installing: mysql-devel i386 5.0.77-3.el5 base 2.4 M Installing for dependencies: e2fsprogs-devel i386 1.39-23.el5 base 568 k keyutils-libs-devel i386 1.2-1.el5 base 27 k krb5-devel i386 1.6.1-36.el5 base 1.8 M libselinux-devel i386 1.33.4-5.5.el5 base 143 k libsepol-devel i386 1.15.2-2.el5 base 187 k openssl-devel i386 0.9.8e-12.el5 base 1.9 M zlib-devel i386 1.2.3-3 base 101 k Transaction Summary ======================================================================================================== Install 8 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 7.1 M Is this ok [y/N]: y Downloading Packages: (1/8): keyutils-libs-devel-1.2-1.el5.i386.rpm | 27 kB 00:00 (2/8): zlib-devel-1.2.3-3.i386.rpm | 101 kB 00:00 (3/8): libselinux-devel-1.33.4-5.5.el5.i386.rpm | 143 kB 00:00 (4/8): libsepol-devel-1.15.2-2.el5.i386.rpm | 187 kB 00:00 (5/8): e2fsprogs-devel-1.39-23.el5.i386.rpm | 568 kB 00:03 (6/8): krb5-devel-1.6.1-36.el5.i386.rpm | 1.8 MB 00:01 (7/8): openssl-devel-0.9.8e-12.el5.i386.rpm | 1.9 MB 00:02 (8/8): mysql-devel-5.0.77-3.el5.i386.rpm | 2.4 MB 00:01 -------------------------------------------------------------------------------------------------------- Total 760 kB/s | 7.1 MB 00:09 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897 base/gpgkey | 1.5 kB 00:00 Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : libsepol-devel 1/8 Installing : libselinux-devel 2/8 Installing : zlib-devel 3/8 Installing : e2fsprogs-devel 4/8 Installing : keyutils-libs-devel 5/8 Installing : krb5-devel 6/8 Installing : openssl-devel 7/8 Installing : mysql-devel 8/8 Installed: mysql-devel.i386 0:5.0.77-3.el5 Dependency Installed: e2fsprogs-devel.i386 0:1.39-23.el5 keyutils-libs-devel.i386 0:1.2-1.el5 krb5-devel.i386 0:1.6.1-36.el5 libselinux-devel.i386 0:1.33.4-5.5.el5 libsepol-devel.i386 0:1.15.2-2.el5 openssl-devel.i386 0:0.9.8e-12.el5 zlib-devel.i386 0:1.2.3-3 Complete!
phpMyAdmin New Install Error: Cannot Load mysql extension. Please check your PHP Configuration
This is how you troubleshoot and fix this error problem:
STEP1. UPLOAD PHPINFO.PHP FILE - Uploaded a phpinfo.php file to your site. This will help you determine if you have the mysql extension installed in your server. If you dont know what a phpinfo.php file is, click here to learn about it.
STEP2. VIEW PHPINFO.PHP FILE - Once you have uploaded your phpinfo.php file to your site, pull it up with your browser. Look for the MYSQL section at the bottom of the page, It should look something like the image below. If you dont see it, continue with the next step. If case you DO. then the problem is something else that I dont know how to advise you how to fix. But if you DONT, then continue with step 3.
STEP3: STOP YOUR MYSQL SERVER- Stop your mysql server with the following command:
STEP4. HOW TO INSTALL THE MYSQL EXTENSION: To install it, I will be using yum to fetch the necessary files. If have your domain name hosted by a shared web hosting company, then you most likely dont have your own server. If you have your own server, login to your ssh connection or open your shell and execute the following comamnd
NOTE: you will need to have internet access on your server to be able to access the mirror site. Also, I executed this command on a Redhat/Fedora Linux Server. Not sure if it will also work for other distributions such as SUSE, Mandrake, Debian, Centos, etc..
STEP4 HOW TO UPDATE MY PHP - Once all the new update have been installed, It would be a good Idea to update your php. Execute the following command to update. Otherwise, dont update. But in my example, I updated it. (do at your own risk).
(Stops your web server)
(gets the latest PHP)
STEP5 RESTART APACHE AND MYSQL - Once your MYSQL and PHP have been updated start your web server and mysql server with the following comand.
After I did this, i didn't get the error anymore
Done. Hope this helps
IMPORTANT:
after you have done this clear your cookies and your cache on your browser, then close all you browser windows, then open your phpmyadmin again, this time it should work. if you dont clear your cookies or cache, you will continue to see the error but the error is just your cache, you need to refresh your content.