jopevazquez
Member
Hello all,
I have a problem with a mysql connection.
In debug mode is working without problems
Dim ConexionMySQL As JdbcSQL
ConectaMySQL(ConexionMySQL)
Sub ConectaMySQL(MySQLDB As JdbcSQL)
Dim driver As String = "com.mysql.cj.jdbc.Driver"
Dim odboURL As String = "jdbc:mysql://REMOTEIP:3306/DDBBNAME?useUnicode=true&characterEncoding=UTF-8"
MySQLDB.Initialize2(driver,odboURL,myuser,mypass)
End Sub
When i'm in debug mode it works correctly, but when I create the packet and execute It I get this error:
(SQLException) java.sql.SQLException: invalid database address
I'm using: #AdditionalJar: mysql-connector-java-8.0.30.jar
I have a problem with a mysql connection.
In debug mode is working without problems
Dim ConexionMySQL As JdbcSQL
ConectaMySQL(ConexionMySQL)
Sub ConectaMySQL(MySQLDB As JdbcSQL)
Dim driver As String = "com.mysql.cj.jdbc.Driver"
Dim odboURL As String = "jdbc:mysql://REMOTEIP:3306/DDBBNAME?useUnicode=true&characterEncoding=UTF-8"
MySQLDB.Initialize2(driver,odboURL,myuser,mypass)
End Sub
When i'm in debug mode it works correctly, but when I create the packet and execute It I get this error:
(SQLException) java.sql.SQLException: invalid database address
I'm using: #AdditionalJar: mysql-connector-java-8.0.30.jar
Last edited: