thomas-llosa
thomas-llosa

Reputation: 11

Can phpmyadmin use pdo_mysql to access mysql?

My php installed with pdo_mysql, without mysqli/mysql. When I use phpMyAdmin, it showed

"The mysqli|mysql extension is missing". 

I tried many times to install mysqli/mysql but failed, and I don't want to re-compile php. So I gave up and chose another mysql web tool Adminer which can use pdo_mysql.

Question : Is it possible that phpMyAdmin use pdo_mysql to access mysql db? I think it should be not hard ,since another tool can.

Upvotes: 1

Views: 3635

Answers (1)

RandomSeed
RandomSeed

Reputation: 29749

This information is not immediately available in the online documentation, but the FAQ has it:

phpMyAdmin can connect to your MySQL server using PHP’s classic MySQL extension as well as the improved MySQL extension (MySQLi)

The phrasing is more explicit in their Wiki:

[Requirements]

(...)

  • Either the mysql or mysqli extensions

(...)

So the answer is: not by default, but contributions are welcome :)

Upvotes: 1

Related Questions