我已经在phpmyadmin: how to select a default database?和PHPMyAdmin documentation中查看了这个问题,但是仍然找不到连接到服务器时要添加到配置文件中以自动选择数据库的参数。
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['verbose'] = 'ServerName';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['compress'] = false;