I created a user when i created my sql database, the database is hosted on cloudcluster.io I gave the user permission to perform all tasks. I than successfully created a user using the admin user while connecting remotely to the database from my local machine no problem. I have a flask app which i than connect to the cloudcluster database. I create a user, but when i try to grant the user any permissions I get the following error.
ERROR 1045 (280000): Access denied for user 'username'@'%' (using password: YES)
But when i view users and hosts i can the following table
+---------------+-----------+
| USER | HOST |
+---------------+-----------+
| username | localhost |
| mysql.session | localhost |
| mysql.sys | localhost |
| root | localhost |
+---------------+-----------+
I really don't understand why it's referencing 2 hosts. Any insight would go a long way