What’s the default password of mariadb on fedora?

I had the same problem. It’s true the password is empty, but even so the error message is shown. The solution is just using “sudo”
so

$ sudo mysql

will open the mysql tool

For securing the database, you should use sudo again.

$ sudo mysql_secure_installation

Leave a Comment