How to configure MySQL Workbench to not require SSL encryption

11,926

Solution 1

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.

Solution 2

You can go to the Advanced tab and type the following in the Others field:

useSSL=0

Solution 3

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.

Share:
11,926
jialeee17
Author by

jialeee17

yo.

Updated on July 25, 2022

Comments

  • jialeee17
    jialeee17 almost 2 years

    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. enter image description here

    I tried re-installing MySQL Workbench, but it doesn't work. What am I supposed to do now??

  • jialeee17
    jialeee17 over 2 years
    Yes, that works for me too!!
  • Justin N
    Justin N over 2 years
    Thank you for this. Utterly ridiculous for Oracle to do this. I truly hope it's just a bug.
  • VanDerNorth
    VanDerNorth over 2 years
    Reverting back to 8.0.26 was enough to get the options back.
  • 58k723f1
    58k723f1 over 2 years
    On macos the location is /System/Volumes/Data/Users/<USER>/Library/Application Support/MySQL/Workbench/connections.xml
  • João Pinho
    João Pinho over 2 years
    Works like a charm. Thanks!
  • Yeray
    Yeray over 2 years
    Works in 8.0.27. I've checked it against a MariaDB server. So there's no need to downgrade
  • theking2
    theking2 over 2 years
    This should be marked as answer. Will be fixed in 8.0.28
  • theking2
    theking2 over 2 years
    Will be fixed in 8.0.28
  • Disturb
    Disturb over 2 years
    The SSL tab doesn't show a "No SSL" option and this solution is not intuitive. Thank you, you saved me
  • Bill K
    Bill K over 2 years
    This works but it doesn't seem to keep the setting in that box, so the next time you enter that tab it's gone (and I think you need to re-enter it to get it to work again)
  • mzk
    mzk over 2 years
    The file location in Windows 10 is C:\Users\USER-NAME\AppData\Roaming\MySQL\Workbench
  • Wren
    Wren almost 2 years
    This is perfect, just remember to keep an edited copy of the file handy as it may overwrite on close as well.