Ubuntu上安装phpMyAdmin

# apt-get install phpmyadmin
# cd /var/www/html
# ln -s /usr/share/phpmyadmin phpmyadmin

若果登录时遇到错误:#2002 无法登录mysql服务器,可做如下修改解决:

# vi /etc/mysql/my.cnf
将:bind-address = 127.0.0.1 修改为:bind-address = localhost

阅读:29

发表回复