. lib/lsb/init-functions log_warning_msg "${WARNING} Create a /etc/mysql/my.cnf by comparing it with /etc/mysql/my.cnf.example ${NORMAL}" log_warning_msg "${WARNING} Create a database if need by run the command: ${NORMAL}" printf "sudo mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql\n" printf "sudo chown -R mysql:mysql /srv/mysql\n" log_warning_msg "${WARNING} Secure MariaDB by running the command: ${NORMAL}" printf "sudo /usr/bin/mysql_secure_installation\n" log_warning_msg "${WARNING} Make sure the mysql service is running before ${NORMAL}"