access denied for user 'root'@'localhost' python sql-connect error
snippet in sql

access denied for user 'root'@'localhost' python sql-connect error

user3649

SELECT user,authentication_string,plugin,host FROM mysql.user;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Current-Root-Password';
FLUSH PRIVILEGES;