I'm trying not to enable using ssl for my connection, but I only have these 3 options in MySQL Workbench without 'No' and 'If Available' options.
I tried re-installing MySQL Workbench, but it doesn't work. What am I supposed to do now??
mysql/workbench/connections. xml , look for the connection that you want to disable ssl, and find <value type="int" key="useSSL">2</value> set it to 0, that will disable ssl for that connection.
If your requirement is to completely turn off SSL on MySQL server instead of the default option of 'enabled, but optional mode', we can do the following: Delete the *. pem certificate and key files in the MySQL data directory. Start MySQL with SSL option turned off.
You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. If you want to avoid the above MySQL warning, use the syntax mention in the beginning.
If, however, like you say that your MySQL server lives and is accessed only locally (never over WAN), you don't need SSL. If it's public facing or ever shares data over an insecure network, use SSL.
You can go to the Advanced tab and type the following in the Others field:
useSSL=0
I had the same problem after upgrade to 8.0.27. Had no clue how to solve it.
I downgraded MySQL Workbench back to 8.0.19, and the 'No' and 'If Available' options came back.
Maybe they just want you to buy Navicat I guess.
Instead of downgrading you can also edit the file that stores the connection details with a different editor. This works for at least 8.0.27.
Open /home/.mysql/workbench/connections.xml
.
Set the value to 0
for the following for each connection you want to use without SSL:
<value type="int" key="useSSL">0</value>
Note that you'd have to repeat the steps if you edit the connection with the workbench again afterwards.
MySQL Workbench Community version 8.0.28 is released and fix it - https://dev.mysql.com/downloads/workbench/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With