--郁屋 覯: 192.168.0.1
--螻糾: Microsoft OLE DB Provider for ODBC Dirvers
--企: MySQL
--螻糾覓語: DRIVER={MySQL ODBC 3.51 Driver}; SERVER=192.168.11.161;Port=3306; DATABASE=ranking; USER=企; PASSWORD=れ
EXEC master.dbo.sp_addlinkedserver
@server = N'192.168.0.1'
, @srvproduct=N'MySQL'
, @provider=N'MSDASQL'
, @provstr=N'DRIVER={MySQL ODBC 5.1 Driver}; SERVER=192.168.11.161;Port=3306; DATABASE=ranking; USER=企; PASSWORD=れ'
--, @provstr=N'DRIVER={MySQL ODBC 3.51 Driver}; SERVER=192.168.11.161;Port=3306; DATABASE=ranking; USER=企; PASSWORD=れ'
EXEC master.dbo.sp_addlinkedsrvlogin
@rmtsrvname=N'192.168.0.1'
, @useself=N'False'
, @locallogin=NULL
, @rmtuser=NULL
, @rmtpassword=NULL