mysql2
mysql2 copied to clipboard
Enforce ssl_mode for MySQL versions >= 5.7.11
:sslverify
is deprecated as of MySQL 5.7.11 and completely removed in MySQL 8.0. :ssl_mode
should be used instead for establishing SSL connection with MySQL. @sodabrew suggested migrating all users to :ssl_mode
by way of warnings and failing the connection when :sslverify
is used for MySQL 5.7.11 and above.