开发者

driver of mysql?

开发者 https://www.devze.com 2022-12-14 08:53 出处:网络
what will开发者_如何学Python I put in this code, in the braces--> (MySQL} Dim connectionString As String = \"Driver={MySQL};SERVER=localhost;DATABASE=student;

what will开发者_如何学Python I put in this code, in the braces--> (MySQL}

Dim connectionString As String = "Driver={MySQL};SERVER=localhost;DATABASE=student;


Have a look here MySQL Connection Strings

'declare the variable that will hold the connection string
Dim ConnectionString 
'define connection string, specify database driver and location of the database 
ConnectionString= "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=localhost;" &_ 
"DATABASE=your_mysql_database; UID=your_username; PASSWORD=your_password; OPTION=3" 
0

精彩评论

暂无评论...
验证码 换一张
取 消