在PHPMyAdmin配置文件中设置“默认数据库”

时间:2019-06-27 16:00:06

标签: mysql phpmyadmin

我已经在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;

0 个答案:

没有答案