Android Question SD_SQL won't connect to database server with compilation set to release but does under debug

jimseng

Active Member
Licensed User
Longtime User
Without fail I can run my app in debug mode and can connect to my mariadb server when using debug, but when I try to use release it fails and the log shows:
Not connected: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
This is over a 5g mobile connection and port 3306 is routed through to the mariadb server by a port forward on the router.
Any ideas what the issue is?
 

jimseng

Active Member
Licensed User
Longtime User
Ok. I have found a thread that discusses this. I'll try and follow it and see where I get to. Unless anyone has anything that say that might get me sorted quicker. I have only tried this SD_SQL for a day and I am still much in the dark over it.
 
Upvote 0
Top