Jump to content

Phpmyadmin: cannot load mysql extension. But it is loaded!


Recommended Posts

Hey everyone

 

I'm having this annoying error in phpmyadmin.

I have installed PHP, Apache and Mysql, and everything works great. I can use the command line MySQL client and communicate with php / mysql.

But when I run PhpMyAdmin, i get this error:

 

"Cannot load mysql extension. Please check your PHP configuration. - Documentation"

 

But I have done all the things needed, and MySQL works...

 

What am I missing?

 

Im using php 5.2.5, Apache 2.2.6 and MySQL 5.0

 

Link to comment
Share on other sites

PHP requires the library php_mysql.dll to be enabled (in the php.ini) in order for PHP to be used with MySQL. Just because MySQL itself is installed and working via the command line doesn't mean PHPMyAdmin will work.

 

Have you enabled the mysql extension within the php.ini? Is PHP reading the php.ini you are editing? What OS are you using?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.