I normally use service start/stop or initctl start/stop to start or stop a daemon process but now what I am looking for is to disable a daemon process from starting at startup example mysqld.
Currently what am doing is renaming /etc/init/mysql.conf to /etc/init/mysql.conf.bak but after reading a little about systemd I came to know that it provides enable & disable option for the above task.
I originally installed mySQL on OSX and it started fine. I was able to connect with mySQL workbench and create a database. However, after a reboot mySQL will no longer start.
I'm having trouble restarting mysql. When I enter the following command, I get this message:
# /etc/init.d/mysql restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g.
I've just installed MySql to support a mediawiki install on 12.04 64bit.
Everything appears to be working ok, except that at boot-up, mysql server fails to start.
This results in an error appearing on the webpage:
Can't connect to local MySQL server through socket /var/run/mysqld/mysqld.sock
When I discover this, and run
sudo service mysql start
It all works ok after that until the next reboo
Hi,
I moved my ubuntu server install from dynamic to static IP.
I have a few (Linode) Ubuntu 10.04 (64bit) VPSes, and mysqld keeps starting on every reboot on all of them --
$ uptime
16:32:26 up 1 min, 1 user, load average: 0.09, 0.08, 0.07
$ ps -ef | grep -i mysqld | grep -v grep
mysql 2364 1 0 16:17 ?
I have MySQL 5.5 running on Ubuntu Server 12.10.
I'm having trouble with a CentOS server running on AWS. This is CentOS 5.6 i386 from RightImage, but the problem was the same on all RightScale AMIs.
When issuing the following command:
yum install mysql mysql-server mysql-devel
the only packages proposed by yum are MySQL-devel-community and MySQL-server-community.
One thing that always confused me in Ubuntu was how system services are started. I know that Ubuntu uses Upstart and supports SysV, but which one is used to start the services?