Dim db As SQL
db.InitializeAsync("DB","com.mysql.jdbc.Driver", "jdbc:mysql://domainorip:YOURPORT/databasename?characterEncoding=utf8","username","password")
Wait For DB_Ready(Success As Boolean)
Log(Success)
If Success = False Then
Log(LastException)
Return
End If