mysqlpasswordsfedoramariadb

What's the default password of mariadb on fedora?


I installed mysql through yum just now and the OS fedora installed mariadb for me. I know mariadb is a new branch of mysql, but I can't understand why it does not ask me for setting the password. I have tried for 123456 and so on, but I failed. My fedora is new, and this is the first time to install mysql/mariadb. What should I do for it?


Solution

  • From https://mariadb.com/kb/en/mysql_secure_installation/ :

    In order to log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed MariaDB, and you haven't set the root password yet, the password will be blank, so you should just press enter here.

    the password will be blank

    I think that's your answer.