Hello people,
I've been running a FreeBSD server for a while right now, and for 'bout a week the mysql-server startup script located at /usr/local/etc/rc.d/mysql-server won't start the MySQL Server...
After some digging through the processlist, configuration files and start up scripts I concluded that FreeBSD assembles the command
in order to start the MySQL server through the start up script.
When I strip the su -m mysql sh -c part and run it manually it's all working fine. So I've no clue where to look next.
/etc/rc.conf does have the mysql_enable = "yes" entrie.
--
The official mysql-server script won't give me an error, when you run it by hand, or let the machine run it during boot up; it just opens up a new shell (it's an SH shell), running with the userid mysql; I just don't seem to get it...
Do you guys have any clues left for me? Having to start the MySQL Server by hand each time the server reboots, is slowly getting on my nerves...
I've been running a FreeBSD server for a while right now, and for 'bout a week the mysql-server startup script located at /usr/local/etc/rc.d/mysql-server won't start the MySQL Server...
After some digging through the processlist, configuration files and start up scripts I concluded that FreeBSD assembles the command
Code:
su -m mysql -c sh -c "/usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf --user=mysql --datadir=/var/db/mysql --pid-file=/var/db/mysql/ervert.pid"
in order to start the MySQL server through the start up script.
When I strip the su -m mysql sh -c part and run it manually it's all working fine. So I've no clue where to look next.
/etc/rc.conf does have the mysql_enable = "yes" entrie.
--
The official mysql-server script won't give me an error, when you run it by hand, or let the machine run it during boot up; it just opens up a new shell (it's an SH shell), running with the userid mysql; I just don't seem to get it...
Do you guys have any clues left for me? Having to start the MySQL Server by hand each time the server reboots, is slowly getting on my nerves...