phpMyAdmin登陆方法

1:配置好phpMyAdmin后,通过IP/phpmyadmin就可一访问远程数据库了

2:为安全性需要设置密码,修改文件/opt/lampp/phpmyadmin/config.inc.php:

  具体设置如下

  1,

  $cfg['Servers'][$i]['host'] = 'localhost'; //localhost为本地

  $cfg['Servers'][$i]['port'] = ''; //如果使用默认端口可以不用设置

  $cfg['Servers'][$i]['connect_type'] = 'tcp';

  $cfg['Servers'][$i]['extension'] = 'mysql';

 

  2,

  $cfg['Servers'][$i]['auth_type'] = 'cookie'; //设置为cookie则显示登陆框

 

  3,

  $cfg['blowfish_secret'] = ''; //如果上一步设置为 cookie 这里修改修改为:

  $cfg['blowfish_secret'] = 'http://www.rsdown.cn/'; //将这里修改为你自己需要的任意字符!

posted @ 2015-07-05 11:41  S大好人S  阅读(1206)  评论(0)    收藏  举报