when trying to start mariadb via systemctl, I'm getting this error:
WSREP: Failed to start mysqld for wsrep recovery: '/usr/local/mysql/bin/galera_recovery: line 71: ./bin/mysqld: No such file or directory'
|
seems that the binary "galera-recovery" is neither searching the mysqld in the same folder as the binary itself nor in the path variable but instead expects the root to be /usr/local/mysql
Workaround: I just modified line 77 of "mariadb.service":
#before:
|
VAR=`/usr/local/mysql/bin/galera_recovery`; [ $? -eq 0 ] \
|
#after
|
VAR=`cd /usr/local/mysql; /usr/local/mysql/bin/galera_recovery`; [ $? -eq 0 ] \
|