phpMyAdmin
2021-06-11 08:04
标签:php mysql phpmyadmin 在phpMyAdmin官方网站下载源码包: # cd /usr/local/src/ # wget https://files.phpmyadmin.net/phpMyAdmin/4.6.0/phpMyAdmin-4.6.0-all-languages.tar.gz # tar zxvf phpMyAdmin-4.6.0-all-languages.tar.gz # ls phpMyAdmin-4.6.0-all-languages phpMyAdmin-4.6.0-all-languages.tar.gz 移动到web页面下并重命名: # mv phpMyAdmin-4.6.0-all-languages /var/www/html/vhost1/ # cd /var/www/html/vhost1/ # mv phpMyAdmin-4.6.0-all-languages/ phpMyAdmin/ # ls index.php info.php phpMyAdmin r2.php search_result.php 修改配置: # cd phpMyAdmin/libraries/ # vi ./config.default.php 修改: $cfg[‘Servers‘][$i][‘host‘] = ‘127.0.0.1‘; $cfg[‘Servers‘][$i][‘user‘] = ‘root‘; $cfg[‘Servers‘][$i][‘password‘] = ‘password‘; http://127.0.0.1:8331/phpMyAdmin/ the local server’s socket is not correctly configured 本文出自 “勤能补拙” 博客,请务必保留此出处http://echoroot.blog.51cto.com/11804540/1953821 phpMyAdmin 标签:php mysql phpmyadmin 原文地址:http://echoroot.blog.51cto.com/11804540/1953821
解决方案如下,在配置文件中修改host
// localhost => 127.0.0.1
$cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1’;
上一篇:http协议中的编码和解码
下一篇:JS全局对象的属性