0

I am getting this error message f"This connection is using {tls_version} which is now " when I ran my python code using python main.py.

My code:

import mysql.connector as connector

con = connector.connect(host='localhost',port='3306',user='root',password='dfadfsasfd',database='python')

print(con)

enter image description here

I already tried to install this package pip3 install mysql-connector-python-rf but it still shows me same error message. Anyone please help me with this!

jarlh
  • 42,561
  • 8
  • 45
  • 63
r121
  • 2,478
  • 8
  • 25
  • 44

0 Answers0