Configure PHPMyAdmin to use multiple databases
/* Servers configuration */
$i = 0;
/* Server: MySQL-5.1 [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'MySQL-5.1';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = 3306;
$cfg['Servers'][$i]['socket'] = '/tmp/mysql-5.1.sock';
$cfg['Servers'][$i]['connect_type'] = 'socket';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoassword'] = true;
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;
/* Server: MySQL-5.0 [2] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'MySQL-5.0';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = 3305;
$cfg['Servers'][$i]['socket'] = '/tmp/mysql-5.0.sock';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* Server: MySQL-4.1 [3] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'MySQL-4.1';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = 3304;
$cfg['Servers'][$i]['socket'] = '/tmp/mysql-4.1.sock';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* End of servers configuration */
CategoryDatabase
PhpMyAdminMultipleDatabases (last edited 2009-11-23 09:46:31 by DavidKeen)