修改config.inc.php3$cfgServers[1]['host'] = 'localhost'; // MySQL hostname
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[1]['adv_auth'] = false; // Use advanced authentication?
$cfgServers[1]['stduser'] = '你的访问用户名'; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = '你的密码'; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = '你的访问用户名'; // MySQL user (only needed with basic auth)
$cfgServers[1]['password'] = '你的密码'; // MySQL password (only needed with basic auth)
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is accessible
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[1]['adv_auth'] = false; // Use advanced authentication?
$cfgServers[1]['stduser'] = '你的访问用户名'; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = '你的密码'; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = '你的访问用户名'; // MySQL user (only needed with basic auth)
$cfgServers[1]['password'] = '你的密码'; // MySQL password (only needed with basic auth)
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is accessible
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
如下:
$cfgServers[1]['host'] = 'localhost'; // MySQL hostname
$cfgServers[1]['port'] = '3306'; // MySQL port - leave blank for default port
$cfgServers[1]['adv_auth'] = false; // Use advanced authentication?
$cfgServers[1]['stduser'] = 'root'; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = 'root'; // MySQL user (only needed with basic auth)
$cfgServers[1]['password'] = ''; // MySQL password (only needed with basic auth)
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is accessible
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
用字符模式进取看看mysql -u root -p
$cfgServers[1]['stduser'] = 'root'; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = 'root'; // MySQL user (only needed with basic auth)
$cfgServers[1]['password'] = ''
前后两个root有什么区别?
只要第二个root改为ODBC 是可以了。
有人知道为什么吗是我自已通过WinMysqlAdmin 里面发现了,一项USER中为
我就试着改了,没想到成功了。:)》》》》》》》》》》》》》》》》》》》》》》》
而WinMySqlAdmin是Windows界面的, 用来只能显示MySql数据库信息的软件。