MySQL in Windows net start mysql Start MySQL service error occurs System error solution

MySQL in Windows net start mysql Start MySQL service error occurs System error solution

1- Error details

Run net start mysql in cmd to start the MySQL service: a system error 5 is displayed. access denied.

Running in cmd administrator mode can start the MySQL service

insert image description here

2-Single Solution

2.1-Directory C:\Windows\System32 -> find cmd.exe

insert image description here

2.2- Right click Properties -> Run as Administrator

insert image description here

2.3-Run successfully

insert image description here

3- Permanent solution

3.1-In 2.2: Right-click Properties -> Send to (N) -> Desktop Shortcut

insert image description here

3.2- Right click Properties -> Shortcut -> Advanced -> Run as Administrator -> OK

In the future, just open the shortcut and run cmd as an administrator!

insert image description here

3.3-Run successfully:

insert image description here

4- Notes

4.1-Windows service names are not case sensitive

insert image description here

4.2- Meaning of the two statements

# Start the service in Windows net start + service name # Close the service in Windows net stop + service name

For example:

# Start the service named mysql57 in Windows net start mysql57
# Shut down the service named mysql57 in Windows.
net stop mysql57

This is the end of this article about the solution to the system error when starting the MySQL service with net start mysql in Windows. For more information about the system error when starting the MySQL service with net start mysql, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Detailed explanation of the installation, configuration, startup and shutdown methods of the Mysql server
  • MySQL multi-instance installation boot auto-start service configuration process
  • MySQL5.7 single instance self-starting service configuration process
  • MySQL configuration master-slave server (one master and multiple slaves)
  • 5 MySQL GUI tools recommended to help you with database management
  • 19 MySQL optimization methods in database management
  • Detailed introduction to 5 commonly used MySQL database management tools
  • Summary of Common Commands for MySQL Database Management
  • MySQL service and database management

<<:  Detailed steps to install the specified version of docker (1.12.6) using rpm

>>:  In-depth understanding of the vertical-align property and baseline issues in CSS

Recommend

Summary of knowledge points on using calculated properties in Vue

Computed properties Sometimes we put too much log...

Introduction to Docker Architecture

Docker includes three basic concepts: Image: A Do...

Linux hardware configuration command example

Hardware View Commands system # uname -a # View k...

Import backup between mysql database and oracle database

Import the data exported from the Oracle database...

How to center your HTML button

How to center your HTML button itself? This is ea...

Uniapp's experience in developing small programs

1. Create a new UI project First of all, our UI i...

Solution to the problem of web page flash animation not displaying

<br />The solution steps are as follows: Sta...

Method of building docker private warehouse based on Harbor

Table of contents 1. Introduction to Harbor 1. Ha...

Let's talk about the Vue life cycle in detail

Table of contents Preface 1. Life cycle in Vue2 I...

Alibaba Cloud applies for a free SSL certificate (https) from Cloud Shield

Because the project needs to use https service, I...

Detailed explanation of MySQL persistent statistics

1. The significance of persistent statistical inf...

Example code for implementing a hollow mask layer with CSS

Contents of this article: Page hollow mask layer,...