报错信息:
MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Exception: Exception of type 'System.Exception' was thrown.
1.确保服务器电脑是开机状态
2.弃用MySQL 服务
http://jingyan.baidu.com/article/b24f6c823dd8ae86bee5da62.html
2.关闭的防火墙(服务器电脑端)
http://jingyan.baidu.com/article/a17d528559c5b48098c8f29e.html
3.开启允许远程 勾选MySQL(服务器电脑端)