As follows:
My computer has set up A MySQL user name root password is: 123456 IP 192.168.0.10
On the computer to run the program links B 192.168.0.10 MySQL
And then to establish, write, read, delete, find operations!
Thank you very much! Trouble a great god!
The code is more simple, more clear, the better
CodePudding user response:
The client also want to install mysql driver in my computerCodePudding user response:
Consulthttps://www.cnblogs.com/xiii/p/4891166.html
CodePudding user response:
CnStr="Provider=SQLOLEDB. 1; Password=123456; Persist Security Info=True; User ID=root; Initial Catalog=your database library name; Data Source=192.168.0.10 "' define the Data connection string