Not able to connect to SSL enable Azure MySql using python script.

Mahendra Rajgude 0 Reputation points
2025-03-13T04:24:54.98+00:00

not able to connect to SSL enable Azure MySql using python script.

Getting following error in Python

mysql.connector.errors.InterfaceError: 2055: Lost connection to MySQL server at 'gcm-daas-backup-srv.mysql.database.azure.com:3306', system error: 1 [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:1002)

Any help / pointer will appreciated.

Mahendra

Azure Database for MySQL

2 answers

Sort by: Oldest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Mahendra Rajgude 0 Reputation points
    2025-03-15T03:02:39.6433333+00:00

    Thanks for help.

    Basically , our problem got solved after uninstalling and installing sql packages in python, clearing cache and deleting temp files.

    Thanks for your help.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.