You are using mariadb as an anonymous user
问题 All the privileges have been denied and all my databases seem to have been deleted. I get the error mentioned in the subject when I try to change the password. Initially there was no password set and this behaviour started after executing the following command update mysql.user set password=password('newpass') where user='root'; I enter mysql using: mysql -u root Every command I try to execute gives me access denied error. I tried surfing on google but did not get a solution to solve the