Why does Django show 'using password: NO' error despite correct database credentials?
I'm experiencing an issue with my Django project where logging in produces the following error: Error: (1045, "Access denied for user 'jdcbde5_vawcdb'@'localhost' (using password: NO)")
Details: Deployed Project: https://jdcbdev.website/ at inmotionhosting The database credentials in my Django settings (settings.py) are correct. Here's a snippet:
I confirmed that NAME and USER are the same with correct password.
I wrote a standalone Python script using mysqlclient to connect to the database, and it works without any issues:
What could cause Django to fail with this error despite the credentials being correct? Is there something specific about Django's handling of database connections that I might be missing?
Thanks in advance for your help!