config.inc.php 应该是没有问题的$cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['port'] = ''; $cfg['Servers'][$i]['socket'] = ''; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection // (requires PHP >= 4.3.0) $cfg['Servers'][$i]['controluser'] = 'root'; // MySQL control user settings // (this user must have read-only $cfg['Servers'][$i]['controlpass'] = '****'; // access to the "mysql/user" // and "mysql/db" tables) $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? $cfg['Servers'][$i]['user'] = 'root'; // MySQL user $cfg['Servers'][$i]['password'] = '****'; // MySQL password (only needed******require('chinese_gb.inc.php3');我就改了这些,其他是缺省配置我在本机上用mysql 客户端是可以用root 用户登陆localhost的,也不是数据库的问题。 求教。
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = 'root'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = '****'; // access to the "mysql/user"
// and "mysql/db" tables)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '****'; // MySQL password (only needed******require('chinese_gb.inc.php3');我就改了这些,其他是缺省配置我在本机上用mysql 客户端是可以用root 用户登陆localhost的,也不是数据库的问题。
求教。
是执行完
require('./libraries/common.lib.php');//有效程序第二行
后,就没有显示了。
现在还是用2.4.0速度比较快
现在似乎出了2.5.1rc了
require('chinese_gb.inc.php3');
这句有问题。
改成缺省的:
require('./libraries/select_lang.lib.php');
后成功显示管理页面,不过都是英文界面了。
chinese_gb.inc.php3 是在lang 子目录中,有问题吗?我把它copy到/libraries/目录中也不行。
哪位大侠能告诉我是为什么?
另外提醒大家,在2.5.0.rc 下需要设置 PmaAbsoluteUri 否则会一直有一个警告。
可以设置为 'http://localhost/phpmyadmin/'
小弟要结贴了,谢谢大家