其他的一些设置如果在phpmyadmin里读出来显示乱码怎么办?
搜索$cfg['DefaultLang'] ,将其设置为 zh-gb2312 ;
搜索$cfg['DefaultCharset'] ,将其设置为 gb2312 ;
搜索$cfg['DefaultLang'] ,将其设置为 zh-gb2312 ;
搜索$cfg['DefaultCharset'] ,将其设置为 gb2312 ;
以下就是一些常用的设置了:
$cfg['Servers'][$i]['auth_type'],默认为config,是不安全的,不推荐,推荐使用cookie,将其设置为$cfg['Servers'][$i]['auth_type'] = 'cookie';
注意这里如果设置为config请在下面设置用户名和密码!例如:
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user-----MySQL连接用户(这里是系统默认的)你可以用命令:mysqladmin -u用户名 -p旧密码 password 新密码 更改密码但前提要在MYSQL提示符下边;
$cfg['Servers'][$i]['password'] = '你的mysql数据库密码';
$cfg['blowfish_secret'] = 'cookie';