I have an ubuntu 20.04 server, and another one.
In the first server running the MTA server, and the second running the MYSQL server. I have many attempts to try connect to the mysql with mta Dbconnect function(https://wiki.multitheftauto.com/wiki/DbConnect) and finally i can. The main problem was MYSQL server used SSL connection, i had to disable this.This solved the problem.
But i have the main question. Is it possible to connect with SSL using the DbConnect function? Or anything else to use secure SSL connection?