2009-12-13 72 views
0

什麼會我把這個代碼,在括號 - >(MySQL的} 請幫助我不能在這個我的sql驅動程序?

昏暗的connectionString作爲字符串=「驅動程序= {}的MySQL真的好; SERVER =本地主機; DATABASE =學生;

回答

0

這裏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" 
相關問題