Quantcast
Channel: How do I start/stop mysql server? - Ask Ubuntu
Browsing latest articles
Browse All 12 View Live
↧

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

use this command to start SQL server as the root usersudo service mysql restartORsudo /etc/init.d/mysql startRestart with this commandsudo /etc/init.d/mysql restartStop MySQL server with this...

View Article


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

I got stuck with the same issue. I uninstalled and reinstalled with these commands:sudo apt-get --purge remove mysql-server mysql-common mysql-clientsudo apt update && sudo apt dist-upgrade...

View Article


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

On Ubuntu 18.04 the socket is defined in the file /etc/mysql/mysql.conf.d/mysqld.cnf: socket = /var/run/mysqld/mysqld.sockThe directory was not present so I created it manually as below:sudo mkdir -p...

View Article

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

I had the same issue with Ubuntu64 and I fixed by simply not using systemctl but instead this:sudo service mysql restarthopefully this command will work for you.

View Article

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

After installing MySQL on your system run this command:service mysql statusIf the service is down run:service mysql startTo stop it:service mysql stop

View Article


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

This one should work for the manually built mysql server:sudo /usr/local/mysql/bin/mysqld_safe --user=mysql

View Article

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

A little script to cover both cases [server running/server not running]:#!/bin/bashservice mysql restartif [ "$?" != "0" ]; then service mysql startfi

View Article

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

I got a strange error when I installed mysql-workbench on my Ubuntu machine. After that I tried to start the mysql service using this command:service mysql startThis showed that the MySQL server was...

View Article


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

Also helps to double check that "mysql" is the correct service name. In my case it wasn't. I kept getting following response: mysql: unrecognized service when runningservice mysql status Then I checked...

View Article


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

For Ubuntu 12.10 to 14.04 (Upstart)Newer versions of Ubuntu use systemd.START MYSQL:sudo start mysqlRESTART MYSQL:sudo restart mysql # The service must be runningSTOP MYSQL:sudo stop mysql # The...

View Article

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

Your first two commands weren't run as root so that is expected behaviour. You need to be root to stop/start mysql.However:sudo /etc/init.d/mysql startshould work. Indeed it does, for me:kojan:~>...

View Article

How do I start/stop mysql server?

I tried to find in some articles describing how to correctly start & stop mysql server.I found this link: How to start/stop MySql server on Ubuntu 8.04 | Abhi's Blogging WorldI ran this...

View Article
Browsing latest articles
Browse All 12 View Live


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