Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
5.5.29-galera
-
None
-
centos 6.4 amd64
Description
Start it from command:
/usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql --log-error=/var/log/mysqld.log
|
And it will NOT never create sub process with mysqld , the status is shown as below:
root 13648 0.0 0.1 122240 4784 ? S 13:18 0:00 /usr/bin/python /usr/bin/pidproxy /var/run/mysqld/mysqld.pid /usr/bin/mysqld_safe --datadir=/var/lib/my
|
root 13649 0.0 0.0 108328 1544 ? S 13:18 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/va
|
root 13921 0.0 0.0 103248 848 ? S 13:18 0:00 grep WSREP: Recovered position:
|
HOW TO FIX IT:
in /usr/bin/mysqld_safe (MariaDB-Galera-server-5.5.29-1.x86_64.rpm)
line 220:
[ "$EUID" = "0" ] && chown $user $wr_logfile
|
to fix it:
[ "$EUID" == "0" ] && chown $user $wr_logfile
|