Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Sub DBConn_MySQL()
  2. db_string = "server=localhost;user=root;password=wishimajaya;port=3307;database=ma star;"
  3. Conn3 = New MySqlConnection(db_string)
  4. Try
  5. Conn3.Open()
  6. MsgBox("MySQL Success")
  7. Catch ex As MySqlException
  8. MsgBox(ex.Message)
  9. End Try
  10. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement