2009-12-13 70 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" 
相关问题