$cfg['Servers'][$i]['port'] = '3306';et quand je vais sous MariaDB, je mets cela :
$cfg['Servers'][$i]['port'] = '3307';J'ai bien sûr un virtualHost pour ce PhpMyAdmin.
<?php /* Servers configuration */ $i = 0; $cfg['blowfish_secret'] = 'h]C+{nqW$omNoTIkCwC$%z-LTcy%p6_j$|$Wv[mwngi~|e'; //What you want /* Server: localhost [1] */ $i++; $cfg['Servers'][$i]['verbose'] = 'MySQL'; $cfg['Servers'][$i]['host'] = '127.0.0.1'; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['Servers'][$i]['user'] = ''; $cfg['Servers'][$i]['password'] = ''; // Hidden databases in PhpMyAdmin left panel //$cfg['Servers'][$i]['hide_db'] = '(information_schema|mysql|performance_schema|sys)'; // Allow connection without password $cfg['Servers'][$i]['AllowNoPassword'] = true; /* Server: localhost [2] MariaDB port 3307 */ $i++; $cfg['Servers'][$i]['verbose'] = 'MariaDB'; $cfg['Servers'][$i]['host'] = '127.0.0.1'; $cfg['Servers'][$i]['port'] = '3307'; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['Servers'][$i]['user'] = ''; $cfg['Servers'][$i]['password'] = ''; // Hidden databases in PhpMyAdmin left panel //$cfg['Servers'][$i]['hide_db'] = '(information_schema|mysql|performance_schema|sys)'; // Allow connection without password $cfg['Servers'][$i]['AllowNoPassword'] = true; // Suppress Warning about pmadb tables $cfg['PmaNoRelation_DisableWarning'] = true; // To have PRIMARY & INDEX in table structure export //$cfg['Export']['sql_drop_table'] = true; //$cfg['Export']['sql_if_not_exists'] = true; $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman/5.7/en/'; /* End of servers configuration */ ?>