mysql.connector.errors.ProgrammingError: 1045 (28000): Access denied for user ''@'localhost' (using password: NO) code example
Example: ERROR 1045 (28000): Access denied for user 'ananyapam'@'localhost' (using password: NO)
sudo mysql -u root -p
sudo mysql -u root -p