MySQL Forums
Forum List  »  Connector/Python

SSL error using mysql-connector-python 8.2.0
Posted by: seetharaman k
Date: November 29, 2023 03:44AM

Hello Experts,
i am using a simple python script to connect to mysql PAAS instance

import mysql.connector
from mysql.connector import errorcode
import os
try :
RPA_db = mysql.connector.connect(host="xxxx.mysql.database.azure.com", user="username",
database="rpa_log",password="YYYYYY",ssl_ca="C:\\xx\\xx\\Desktop\\Data\\xxxx.crt.pem")
except mysql.connector.Error as err:
print(str(err))
exit()
while executing the script am getting the below error

2055: Lost connection to MySQL server at xxxxxx.azure.com:3306', system error: 1 [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:997)

any help would be appriciated.

Options: ReplyQuote


Subject
Written By
Posted
SSL error using mysql-connector-python 8.2.0
November 29, 2023 03:44AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.