Sql server mysql turn

"Provider=SQLOLEDB.1;Persist Security Info=False;User ID=;PassWord=;Initial Catalog=;Data Source="

Provider = SQLOLEDB.1 ------ open database connection oledb way
Persist Security Info ---- whether to save the security information
User ID ------------------- username
passWord ------------------ code
name or the database ip Initial Catalog ----------- database or directory
Data Source ----- ----------data source

Guess you like

Origin blog.51cto.com/791165566/2416741