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)")

Error: enter image description here

Details: Deployed Project: https://jdcbdev.website/ at inmotionhosting The database credentials in my Django settings (settings.py) are correct. Here's a snippet: enter image description here

I confirmed that NAME and USER are the same with correct password. enter image description here

With correct grants: enter image description here

I wrote a standalone Python script using mysqlclient to connect to the database, and it works without any issues: enter image description here

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!

Вернуться на верх