0
votes
0answers
19 views

Mysql 5.6 not starting with init script (mysql pre-start process terminated with status 1), starts fine manually

I've been fighting with this all morning: On Ubuntu Utopic (same on trusty, upgraded just in case), when I run sudo service mysql start, or sudo start mysql, I get the single error: "mysql pre-start ...
2
votes
2answers
96 views

Apache2 and MySQL fail to restart after Server restart or apt-get update

Does anyone know of any reason why Apache2 and MySQL do not run after either a server reboot or apt-get update? I am currently running Ubuntu 12.04 LTS server There are the corresponding files in ...
1
vote
1answer
57 views

Passing mysql credentials to pt-stalk without having them visible on the command line

I am trying to roll out pt-stalk with an init script, but I'm having a hard time getting the mysql credentials into the script without putting them in the MYSQL_OPTS section for the pt-stalk launch. ...
2
votes
1answer
479 views

Mysql with upstart not starting

After an update this morning we are having some strange problems. First of all apt-get upgrade fails during the configuration with the a message that it was unable to start the service. We then ...
1
vote
1answer
3k views

Why doesn't “service mysql start” run mysqld_safe?

I've installed mysql on Ubuntu, and the documentation on starting it up says: Invoke mysql.server. This script is used primarily at system startup and shutdown on systems that use System V-style ...
1
vote
2answers
1k views

Passing Arguments to a Service started with Init.d

I want to start mysql with the command argument "--log=log_file_name" What is the proper way to do that when starting it with /etc/init.d? Would it be like this? /etc/init.d/mysql start ...
1
vote
2answers
122 views

Why is there a /etc/init.d/mysql file on this Slackware machine? How could it have gotten there? [closed]

A client of my IT-consulting service owns a web-development shop. He's been having problems with a Slackware 12.0 server running MySQL 5.0.67. The machine was set up by the client's sysadmin, who left ...
0
votes
1answer
510 views

Mysql server doesn't start at boot on Ubuntu 10.04LTS VPS

I did a apt-get update & installed few updates on my server which runs 10.04LTS. But this has broken mysql. it doesn't start at boot. I tried to manually start it using the following commands: $ ...
0
votes
1answer
303 views

MySQL init.d script with different configuration file

I have two instances of mysql running on a server. I need two different init.d scripts. The two instances have different configuration files /etc/my.cnf and /etc/my-slave.cnf. I copied the ...
1
vote
1answer
4k views

How to automatically start mysql after server restart (CentOS + other distros)?

How would I configure my CentOS Linux server to automatically start mysql when the server is started following a shutdown? I'm aware of the init.d path... /etc/rc.d/init.d ...and I can see mysqld ...