I am trying to connect mysql(8.0) and python(3.8) using mysql.connector but getting the error:
mysql.connector.errors.ProgrammingError: 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Windows 10
same code working for pymysql
the code used:
import mysql.connector as sql s=sql.connect(host='localhost',user='root',passwd='12345') I haven't tried anything as of now since i didn't find any relevant help for my situation.
mysql.connector.errors.ProgrammingError: 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Windows 10
same code working for pymysql
the code used:
import mysql.connector as sql s=sql.connect(host='localhost',user='root',passwd='12345') I haven't tried anything as of now since i didn't find any relevant help for my situation.