B4J Question mysql : difference between InitializeAsync and Initialize2

giannimaione

Well-Known Member
Licensed User
Longtime User
hello;
B4X:
SQL.InitializeAsync("MySQL", "com.mysql.jdbc.Driver", $"jdbc:mysql://${DBLocation}/register_Northwind_MySQL?useSSL=false"$, DBUsername, DBPassword)
'or
SQL.Initialize2("com.mysql.jdbc.Driver", "jdbc:mysql://" & ip & "/database","username","password")
can someone explain difference ?
what is best solution?
 
Top