Sub InitializeMariaDB(jdbcUrl As String ,login As String, password As String, poolSize As Int) 'ignore
Log("init mariadb")
UsePool = True
Try
pool.Initialize("org.mariadb.jdbc.Driver", jdbcUrl, login, password)
Catch
Log("Last Pool Init Except: "&LastException.Message)
End Try
' change pool size...
Dim jo As JavaObject = pool
jo.RunMethod("setMaxPoolSize", Array(poolSize))
End Sub