Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub DBConn_MySQL()
- db_string = "server=localhost;user=root;password=wishimajaya;port=3307;database=ma star;"
- Conn3 = New MySqlConnection(db_string)
- Try
- Conn3.Open()
- MsgBox("MySQL Success")
- Catch ex As MySqlException
- MsgBox(ex.Message)
- End Try
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement