Quantcast
Channel: How do I start/stop mysql server? - Ask Ubuntu
Viewing all articles
Browse latest Browse all 12

Answer by ReverseEMF for How do I start/stop mysql server?

$
0
0

A little script to cover both cases [server running/server not running]:

#!/bin/bashservice mysql restartif [ "$?" != "0" ]; then  service mysql startfi

Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>