Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a VPS running Fedora 16 (upgraded from 15). Mysql was installed and working until recently.

Now I can't get the mysql service started.

when I try

/etc/init.d/mysqld start

I get the error

/etc/init.d/mysqld: No such file or directory

I have uninstalled and installed mysql several times

yum install mysql mysql-server

but the service still isn't available

share|improve this question

1 Answer 1

MySQL in Fedora no longer has a SysV initscript; you should be using the service command to control it instead:

service mysqld start
share|improve this answer
    
doing a service mysqld start I get the following error: Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: Connection refused –  Pierre Apr 13 '12 at 13:41
1  
You're running it as root, correct? –  Ignacio Vazquez-Abrams Apr 13 '12 at 13:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.