原来是要安装MySQL的驱动 下载地址:http://dev.mysql.com/downloads/connector/net/ 支持32/64bit 转载于:https://www.cnblogs.com/swtool/p/5310907.html