参照: http://www.itcsolutions.eu/2010/09/09/how-to-connect-to-mysql-database-from-visual-studio-vs2010-problems-with-net-connectors/ 补助:下载安装.net连接mysql的驱动,去http://www.mysql.com/downloads/connector/net/下载并安装