Comments - Cannot reset password for the root user in MariaDB (Mac keeps changing it on restart)
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Ok, let me answer your questions:
1. provide the version you're using
2. when you first install and have access, the contents of the global_priv table:
3. Also, let me show here the list of the users and the local passwords, because some of these passwords are `invalid`, which is weird.
I formatted your output for you :)
"Invalid" as a password means that password authentication is disabled. See Authentication from MariaDB 10.4.
"some users may wish to log in as MariaDB root without using sudo. Hence the old authentication method — conventional MariaDB password — is still available. By default it is disabled (“invalid” is not a valid password hash), but one can set the password with a usual SET PASSWORD statement."