"Run" (shortcut Key Win+R)->Enter "net stop mysql" and click OK->Enter "net start mysql""/> "Run" (shortcut Key Win+R)->Enter "net stop mysql" and click OK->Enter "net start mysql"">

Home>Article>Database> How to restart mysql database

How to restart mysql database

little bottle
little bottle Original
2019-05-17 17:13:18 11523browse

MySQL is one of the most popular relational database management systems. In terms of WEB applications, MySQL is the best RDBMS application software. This article will tell you how to restart the mysql database.

How to restart mysql database

There are two methods:

1. MYSQL Service

My Computer->(right-click)Manage- >Services and Applications->Services->MYSQL->Start (stop, restart)

2. Command line method

 Windows

 1. Click "Start" -> "Run" (shortcut key Win R).

2. Start: enter net stop mysql

3. Stop: enter net start mysql

Tips* Redhat Linux also supports service command, start: # service mysqld start stop :# service mysqld stop Restart: # service mysqld restart

 * Under Windows, you cannot restart directly (restart), you can only stop it first and then start it.

The above is the detailed content of How to restart mysql database. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn