ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.10.210' (111) 解决方法
今天在测试mysql的连接时候,发现连接不通过,并报错ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.10.210' (111)
测试代码:require 'mysql2'
client = Mysql2::Client.new(:host=>"192.168.10.210",:username=>'root',:pass
原创
2016-03-21 19:29:27 ·
14874 阅读 ·
0 评论