在sql-server上建立链接库
 
EXEC sp_addlinkedserver @server = N'RESUME_MYSQL_CONN', @srvproduct=N'MySQL ODBC 5.1 Driver', @provider=N'MSDASQL', @provstr=N'DRIVER={MySQL ODBC 5.1 
Driver};SERVER=168.192.122.30;PORT=3306;DATABASE=ve_resume;USER=efoncheng;PASSWORD=efoncheng;STMT=set names utf8;option=3' 
GO
EXEC sp_addlinkedsrvlogin @rmtsrvname=N'RESUME_MYSQL_CONN',@useself=N'False',@locallogin=NULL,@rmtuser=NULL,@rmtpassword=NULL
GO