McCoy
McCoy

Reputation: 105

PHP Extension:mysql in phpmyadmin

When I log into phpmyadmin it says that my PHP Extension is: MySQL.

I know this needs to be changed to mysqli but how do I do that? Is that something I can do myself or is it a server config setting that I need my web host to change?

Upvotes: 3

Views: 7590

Answers (2)

Madhura Jayaratne
Madhura Jayaratne

Reputation: 2284

To instruct phpMyAdmin to use mysqli extension you have to add the following line to your config.inc.php

/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysqli';

You can not change this setting from inside phpMyAdmin. You'll probably have to ask your web host to do that for you.

Upvotes: 8

Mehul Bawadia
Mehul Bawadia

Reputation: 44

I guess you need to upgrade to the latest version of PhpMyAdmin and PHP as well...

If want to upgrade php version to latest follow this link if you are on WAMP -> http://forum.wampserver.com/read.php?2,113423,113435#msg-113435

If want to upgrade phpMyAdmin version to latest follow this link if you are on WAMP -> http://forum.wampserver.com/read.php?2,59446,59454

Hope this helps you.

Upvotes: 0

Related Questions