摘要:
用BitNami搭建个站点(内含mysql数据库服务、phpmyadmin和Apache web Service), 用localhost或127.0.0.1及用户名密码连接没有问题。但是本机或远程通过ip地址连接就报错了:can't connect to mysql server on 'x.x.x.x' 10061.当然用户已经授权,允许由局域网或互联网进行外部访问,如:$ /installdir/mysql/bin/mysql -u root -p -e "grant all privileges on *.* to 'root'@ 阅读全文