To find out your MySQL connection details, you will need to look in your MySQL configuration files. The specific location of these files will depend on how you installed MySQL, but common locations include /etc/my.cnf,
If you are getting a warning about an SSL connection when connecting to a MySQL database, it may be because you are using an older version of the MySQL client library that does not support SSL connections by default.