1、连接SQL Server:
Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;
Server=myServerAddress;Database=myDataBase;Trusted_Connection=True;
Server=myServerName\myInstanceName;Database=myDataBase;User Id=myUsername;`Password=myPassword;
2、连接MySql:
Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
Server=myServerAddress;Port=1234;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
Server=serverAddress1,serverAddress2,serverAddress3;Database=myDataBase;Uid=myUsername;Pwd=myPassword;