Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The proper formatting for the SSL URL in MyBatis Generator is:

jdbc:mysql://<host>/<database>?useSSL=true&amp;verifyServerCertificate=false&amp;requireSSL=true

Replace <host> with the host name or IP address of your MySQL server, and <database> with the name of your MySQL database.

Note that the useSSL=true parameter enables SSL encryption, verifyServerCertificate=false parameter disables server certificate verification, and requireSSL=true parameter makes SSL connection mandatory.