Solution to MySql service disappearance for unknown reasons

Solution to MySql service disappearance for unknown reasons

Solution to MySql service disappearance for unknown reasons

Just now, MySQL-Front suddenly couldn't open MySql. Sure enough, I found that the MySql service was missing. I remembered that I might have installed PhpStudy last night and clicked the option not to use MySql, which uninstalled my own MYSQL service.

Solution

Go to the \Windows\System32 directory under the C drive, find cmd.exe under the directory, then right-click and select "Run as administrator" in the pop-up menu. Then go to the MySql installation directory. Here is a brief introduction to entering. You must first enter a drive letter, such as the C drive. You cannot directly

cd D:\work\MySQL\MySQL Server 5.5\bin

The correct approach is:

C:\Users\12262>D:

D:\>cd "work\MySQL\MySQL Server 5.5\bin"

D:\work\MySQL\MySQL Server 5.5\bin>\

After entering the mysql bin, enter the following command:

mysqld.exe -install
//Wait for the installation prompt to complete the installation and then enter the following command net start mysql

Thank you for reading, I hope it can help you, thank you for your support of this site!

You may also be interested in:
  • Solution to the problem of mysql service starting but not connecting
  • Detailed explanation of performance monitoring of MySQL server using Prometheus and Grafana
  • Mysql5.7 service cannot be started. Graphical solution tutorial
  • Solution to the failure of MySQL to use innobackupex to backup the connection server
  • Solution to the problem that the service name is invalid when running mysql net start
  • MySQL uses show status to view MySQL server status information
  • The best way to automatically backup the mysql database (windows server)
  • How to view the path of the MySQL configuration file on the Linux server

<<:  How to implement responsive layout in vue-cli

>>:  Detailed tutorial on installing JDK1.8 on Linux

Recommend

VUE implements bottom suction button

This article example shares the specific code of ...

Implementation of scheduled backup in Mysql5.7

1. Find mysqldump.exe in the MySQL installation p...

MySQL query syntax summary

Preface: This article mainly introduces the query...

Detailed explanation of MySQL 8.0 password expiration policy

Starting from MySQL 8.0.16, you can set a passwor...

Detailed explanation of the use of React.cloneElement

Table of contents The role of cloneElement Usage ...

How to generate a free certificate using openssl

1: What is openssl? What is its function? What is...

Create an SSL certificate that can be used in nginx and IIS

Table of contents Creating an SSL Certificate 1. ...

MySQL complete collapse: detailed explanation of query filter conditions

Overview In actual business scenario applications...

Mysql database master-slave separation example code

introduce Setting up read-write separation for th...

What are the file attributes of crw, brw, lrw, etc. in Linux?

What is a file? All files are actually a string o...

Solve the problem of Navicat for Mysql connection error 1251 (connection failed)

Because what I wrote before was not detailed enou...

Brief analysis of the introduction and basic usage of Promise

Promise is a new solution for asynchronous progra...

Practical record of MySQL 5.6 master-slave error reporting

1. Problem symptoms Version: MySQL 5.6, using the...

Avoid abusing this to read data in data in Vue

Table of contents Preface 1. The process of using...