1
minzaw@Dell-PC:~$ sudo start mysql
[sudo] password for minzaw: 
start: *Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused*
minzaw@Dell-PC:~$ sudo restart mysql
restart: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
4
  • Which version of Ubuntu?
    – muru
    Dec 27, 2015 at 14:17
  • Connection refused, do you have a firewall or something that is restricting the internet?
    – Star OS
    Dec 27, 2015 at 14:17
  • ubuntu version above 15.5,
    – user486555
    Dec 27, 2015 at 14:32
  • @user486555: That's no Ubuntu release I've heard of before. In 2015 we had 15.04 and 15.10. Dec 27, 2015 at 15:22

1 Answer 1

0

If your using Ubuntu 15.04 or newer try sudo systemctl start mysql, or in general sudo systemctl <action> <service-name>to control daemons.

Not the answer you're looking for? Browse other questions tagged .