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

JavaScript to achieve calendar effect

This article shares the specific code for JavaScr...

In-depth analysis of the Identifier Case Sensitivity problem in MySQL

In MySQL, you may encounter the problem of case s...

Introduction to ufw firewall in Linux

Let's take a look at ufw (Uncomplicated Firew...

In-depth analysis of MySQL database transactions and locks

Table of contents 1. Basic Concepts ACID 3.AutoCo...

Detailed tutorial on installing CUDA9.0 on Ubuntu16.04

Preface: This article is based on the experience ...

Introduction to HTML basic controls_PowerNode Java Academy

The <input> tag The <input> tag is us...

Example of adding and deleting range partitions in MySQL 5.5

introduce RANGE partitioning is based on a given ...

How to set password for mysql version 5.6 on mac

MySQL can be set when it is installed, but it see...

Top 10 useful and important open source tools in 2019

In Black Duck's 2017 open source survey, 77% ...

JS realizes the scrolling effect of announcement online

This article shares the specific code of JS to ac...

Sharing the structure and expression principles of simple web page layout

Introduction to structure and performance HTML st...

HTML table tag tutorial (33): cell vertical alignment attribute VALIGN

In the vertical direction, you can set the cell a...