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
Asked
Active
Viewed 872 times
1

Harald
- 1,170

user486555
- 141
-
Which version of Ubuntu? – muru Dec 27 '15 at 14:17
-
Connection refused, do you have a firewall or something that is restricting the internet? – Star OS Dec 27 '15 at 14:17
-
ubuntu version above 15.5, – user486555 Dec 27 '15 at 14:32
-
@user486555: That's no Ubuntu release I've heard of before. In 2015 we had 15.04 and 15.10. – David Foerster Dec 27 '15 at 15:22
1 Answers
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.

Brian Duke
- 181