咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
vim /data/phpMyAdmin/libraries/config.default.php
#修改为自己浏览器登录访问的url.
$cfg['PmaAbsoluteUri'] = 'http://www.landui.com/phpMyAdmin/';
#cookie的加密密码,防止模拟cookie破解,自己定义.
$cfg['blowfish_secret'] = 'agaha1g31j#';
#Mysql server的ip
$cfg['Servers'][$i]['host'] = 'localhost';
#Mysql的端口.
$cfg['Servers'][$i]['port'] = '3306';
#基于cookie认证的方式,默认为cookie.
$cfg['Servers'][$i]['auth_type'] = 'cookie';
#用户随便给,登录phpMyAdmin 用Mysql授权的账户和密码就能登录
$cfg['Servers'][$i]['user'] = 'root';
#密码随便给,登录phpMyAdmin 用Mysql授权的账户和密码就能登录
$cfg['Servers'][$i]['password'] = '123456';
#允许root登录,默认开启.
$cfg['Servers'][$i]['AllowRoot'] = true;
#关闭无密码登录,默认为关闭.
$cfg['Servers'][$i]['AllowNoPassword'] = false;
#修改PhpMysqlAdmin登录默认的语言.
$cfg['DefaultLang'] = 'zh';