Hi, guys,
I'm building an app in Django and everytime I try to run the command python manage.py syncdb
I receive the following message
_mysql_exceptions.OperationalError: (1044, "Access denied for user 'lucasloami'@'%' to database ' lucasloami$ensight'")
But this is really strange, I started my MySQL and asked to show all the grants (show grants
) and the result is:
+----------------------------------------------------------------------------------------------------------------------------------------+
| Grants for lucasloami@% |
+----------------------------------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'lucasloami'@'%' IDENTIFIED BY PASSWORD '*538CEF1BB78A17A9CE7F478776D67D390AFE13CA' WITH MAX_USER_CONNECTIONS 12 |
| GRANT ALL PRIVILEGES ON `lucasloami$ensight`.* TO 'lucasloami'@'%' |
I recentl changed the user password but I made sure that the Django configurations had the new password before run the syncdb. I'm not sure why this is happening. Can you help me?