MySQL Server version: 5.5.43-0ubuntu0.14.04.1 (Ubuntu)
Ubuntu-Server 14.04 LTS
Even after spending a long time I can not figure out why I can not start mysqld through mysqld_safe.
MySQLDocs are stating that:
mysqld_safe is the recommended way to start a mysqld server on Unix and NetWare. mysqld_safe adds some safety features such as restarting the server when an error occurs and logging runtime information to an error log file.
Furthermore I understand that mysqld_safe is some kind of a wrapper around mysqld. When invoking mysqld_safe it will try to start mysqld.
How to invoke mysqld_safe?
There is no
mysqld_safe. Only a script named
sudo service mysqld start
passes start directly to
/etc/init.d/mysqld it would jump to
case start executing:
# Start MySQL! /usr/bin/mysqld_safe > /dev/null 2>&1 &
But is mysqld_safe now running or not?
ps -aux | grep my gives following output:
mysql 31168 0.0 4.2 318348 43648 ? Ssl 14:35 0:03 /usr/sbin/mysqld
mysql 31168 0.0 4.2 318348 43648 ? Ssl 14:35 0:03 /usr/sbin/mysqld_safe
How can I start mysqld through mysqld_safe as I want to do the right way and not the lazy way like ''Ah, forget it.. at least it is working''.
I want to learn something..