tags:

views:

22

answers:

2

what will I put in this code, in the braces--> (MySQL} Please help I'm not really good at this

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

A: 

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"
astander
+1  A: 

This should help:

http://www.connectionstrings.com/mysql

cxfx