noddy asked this 2 months ago

InterfaceError: SSL connection error: Failed to set ciphers to use

I am trying to connect to a MySQL database from a Python script which looks like this:

import mysql.connector

mydb = mysql.connector.connect(

  host="localhost",

  user="root",

  passwd="mypasswd"

)

and I get the following error message:

InterfaceError: SSL connection error: Failed to set ciphers to use

Are there any parameters I need to set for SSL connection... and what if I don't want to use SSL connection?

 


No answers yet..