1 | initial version |
The proper formatting for the SSL URL in MyBatis Generator is:
jdbc:mysql://<host>/<database>?useSSL=true&verifyServerCertificate=false&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.