I'm the following error each time I try to connect to the DB via script:
mysql.connector.errors.ProgrammingError: 1044 (42000): Access denied for user 'Kbungo'@'%' to database 'Gaslight'
The following code is my connection code:
db = mysql.connector.connect(user='Kbungo', password='<passwordHere>, host='mysql.server', database='Kbungo$OngoingGaslights')
I am not running a webserver (I previously ran flask, but did not need it any longer), although I do have a database of the proper name. If I enter MYSQL via the BASH shell, I am able to access my database and edit it with no issue. I'm certain the MYSQL commands are correct (I attempted them manually).
Do I have to run a Django webpage? What am I missing?