Access denied for database

While installing ERPnext in site i am getting access denied for user error

You should search in the forum because there are many posts related to this issue.

https://discuss.frappe.io/search?q=access%20denied%20for%20user%20order%3Alatest

i have tried but its not working

GRANT ALL PRIVILEGES ON . TO ‘_c6125b297b85eca8’@‘localhost’ IDENTIFIED BY ‘mypassword’ WITH GRANT OPTION;

@NCP it got resolved , actually i deleted all project and i was installing again but for different site database password is different which is available in site_config (inside the sitename) site name is also a folder