Mariadb is active. And I can create new site and drop other site.
In frappe.log this site during scheduler run:
Site: site1.domain.id
Access denied for site site1.domain.id
[DEBUG] 2020-09-25 23:00:17,690 | /home/user/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
I don’t need to enter the root sql password. Even if I need to, I don’t have the chance because it can’t connect at all. And for other sites also don’t need to enter root password because I have it in common_site_config.json.
Only this one site is problem. Other sites are fine.
EDIT:
I just tried to create user with the same name as the database and use the db password in th site_config.json.
Using that user I can drop tables in its database. But can’t drop the database (same error).
But after logging out from Mariadb, I can’t login to mariadb again using that user, so have to use root.
From root I see user list and the user I created (same name as db) is gone. Always like this.
It may take less time to backup the working sites, reinstall Mariadb , and restore the working sites.
If you cannot use mysqlcheck with either the user/password that was associated with the site or the root one that Mariadb respects otherwise, it may be your only option.