you probably haven't created the needed tables before starting mariadb: in /etc/rc.d/rc.mysqld there's this bit
Code:
# Before you can run MariaDB, you must have a database. To install an initial
# database, do this as root:
#
# mysql_install_db --user=mysql
#
# Note that the mysql user must exist in /etc/passwd, and the created files
# will be owned by this dedicated user. This is important, or else mysql
# (which runs as user "mysql") will not be able to write to the database
# later (this can be fixed with 'chown -R mysql.mysql /var/lib/mysql').
#
# To increase system security, consider using "mysql_secure_installation"
# as well. For more information on this tool, please read:
# man mysql_secure_installation
so now you have to issue these two commands
Code:
chown -R mysql.mysql /var/lib/mysql
mysql_install_db --user=mysql
and then start the server with
Code:
chmod +x /etc/rc.d/rc.mysqld
/etc/rc.d/rc.mysqld start