I am using Mariadb (mysql Ver 15.1 Distrib 5.5.40-MariaDB) in CentOS (CentOS Linux release 7.0.1406). I tried to restart Mariadb.
If you install the one from RH it's mariadb and the one from Maria is called MariaDB and I think they obsolete each other - well I'm pretty sure the MariaDB replaces mariadb, but not sure the other way around. ↳ CentOS 7 - Security Support; CentOS 6 ↳ CentOS 6 - General Support ↳ CentOS 6 - Software Support ↳ CentOS 6.
When I checked : /var/log/mysql-error.log as suggested by 'systemctl status mariadb.service'
PS: /var/lib/mysql directory is owned by mysql (there is one more directory mysql~ which is empty)
drwxr-xr-x 8 mysql mysql 4096 May 23 11:05 mysql
drwxr-xr-x. 3 mysql mysql 26 Feb 4 2015 mysql~
Please provide some suggestion. How can I restart my mariadb, I have important database under mariadb.
DEV
DEVDEV
1 Answer
From the last line of error
[ERROR] /usr/libexec/mysqld: unknown variable 'extra-lsndir=/var/tmp'
It is clear that this variable is not known so try to comment it from
/etc/my.cnf
and try again. I hope it will help.
AvinashAvinash