MySQL社区

标题: 转载: phpMyAdmin登陆界面中添加MySQL地址 [打印本页]

作者: kider    时间: 2007-9-12 22:55
标题: 转载: phpMyAdmin登陆界面中添加MySQL地址
高手不用看了

写出来给不知道的兄弟们分享一下  会方便很多

打开phpmyadmin文件夹下的config.sample.inc.php这个文件

然后把
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';       //这里ip地址
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
这一段复制 加在
/*
* End of servers configuration
*/

/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
这几行的上面 并把文件保存为config.inc.php 就可以了




欢迎光临 MySQL社区 (http://www.mysqlpub.com/) Powered by Discuz! X3.2