Everything was working fine till my last visit to my website. But now when I try to access my website, it displays this error.
SQLSTATE[28000] [1045] Access denied for user 'medindinDB'@'127.0.0.1' (using password: YES) (SQL: select * from 'inventory')
None of the code has been changed. I have also tried to clear cache as directed in this question
https://stackoverflow.com/a/41650432/8582983
.env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=inventory
DB_USERNAME=medindinDB
DB_PASSWORD=********
My website is hosted on cpanel.