B
B
Boris Onofrey2014-11-12 16:37:04
linux
Boris Onofrey, 2014-11-12 16:37:04

How to solve problems with mysql on linux?

Recently I decided to open a couple of sites on my home server. Configured apache, installed phpmyadmin, installed cms. Until yesterday everything worked fine, but today the problems started. At first they solved it with a simple reboot, but now it does not help. Tried restarting mysql.

$ uname -a
Linux RedNetwork-LS 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ sudo service mysql restart
stop: Unknown instance:
start: Job failed to start

$ service mysql restart
stop: Unknown instance:
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.8" (uid=1000 pid=1942 comm="start mysql ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init ")

Google is silent on this issue. Maybe you can at least give me a hint.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
protven, 2014-11-12
@RedCreepster

ls -l /var/lock/subsys/mysql
If the file exists and mysql is not running, delete the file and restart.

E
Ergil Osin, 2014-11-12
@Ernillew

And who told you that you generally have mysql?
You said "Unknown instance:" :-D

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question