Tuesday, December 8, 2020

mySQL: How do I restart mySQL server?

 How do I restart mySQL server?


mySQLExplanationSQL Server
(Ubuntu)
# /etc/init.d/mysql restart

OR

# systemctl restart mysql

OR

(RedHat / CentOS / Debian)
# /etc/init.d/mysqld restart

OR

# systemctl restart mysqld

OR

(FreeBSD)
# /usr/local/etc/rc.d/mysql-server restart

OR

# service mysql-server restart

Restart the relevant service On the console of the machine:

net stop mssqlserver

 

Named instance?

net stop mssql$instancename.




No comments:

Post a Comment