First, the command line command to close and start the service:
2. When running the command line program of cmd, you must run it as an administrator. Otherwise, the following prompt will appear:
3. The service name of the mysql5.7 version generally defaults to mysql57, so if the service name mysql is used, it will definitely not succeed. The correct operation is as follows:
Four,