I installed the mariadb-server package on CentOS 7 with the command:sudo yum install mariadb-serverThe installation completed successfully, but I can't seem to log in to the server. Usually, a default MariaDB installation has no password, so I tried leaving of the -p parameter:mysql -u rootI've also tried providing a number of common passwords with the -p parameter, but none of them work. I also can't move forward with the mysql_secure_installation script due to the same reason.What is the default password for MariaDB on CentOS 7?
What is MariaDB's default password on CentOS 7?
centos;mariadb
There is no default password. But it does appear as though one might require a password when attempting to connect to a process that is not running. Is a mysql process running?ps aux | grep mysqlIf not, start it.systemctl start mariadbAnd connect...mysql -u root