Quickly solve the problem that the mysql57 service suddenly disappeared

Quickly solve the problem that the mysql57 service suddenly disappeared

one,

G:\MySQL\MySQL Server 5.7\bin> mysqld --initialize

G:\MySQL\MySQL Server 5.7\bin> mysqld -install
Service successfully installed.

G:\MySQL\MySQL Server 5.7\bin>

2. Enter the password in the .err file when entering the password

appendix:

Previously, I used mysqld -install directly, but when I started the service, an error message was reported that the MySQL service on the local computer started and then stopped. Some services will automatically stop when they are not in use by other services or programs.

Then run mysqld--remove mysql to move the service, and then follow the above two steps.

If the following error message appears: ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

Just SET PASSWORD = PASSWORD('new password');

The above article on how to quickly solve the problem of mysql57 service suddenly disappearing is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

You may also be interested in:
  • Solution to the mysql service not starting
  • Summary of solutions for the problem that MySQL 5 cannot be started after installation (cannot start service)
  • Summary of several common problems when MySQL cannot be started

<<:  WeChat applet realizes horizontal and vertical scrolling

>>:  Example of how to install nginx to a specified directory

Recommend

The textarea tag cannot be resized and cannot be dragged with the mouse

The textarea tag size is immutable Copy code The c...

Various ways to modify the background image color using CSS3

CSS3 can change the color of pictures. From now o...

The perfect solution for highlighting keywords in HTML

I recently encountered a feature while working on...

Common styles of CSS animation effects animation

animation Define an animation: /*Set a keyframe t...

What does the "a" in rgba mean? CSS RGBA Color Guide

RGBA is a CSS color that can set color value and ...

Practical example of Vue virtual list

Table of contents Preface design accomplish summa...

Installation process of MySQL5.7.22 on Mac

1. Use the installation package to install MySQL ...

Several implementation methods of the tab bar (recommended)

Tabs: Category + Description Tag bar: Category =&...

25 advanced uses of JS array reduce that you must know

Preface Reduce is one of the new conventional arr...

How to install pip package in Linux

1. Download the pip installation package accordin...

React new version life cycle hook function and usage detailed explanation

Compared with the old life cycle Three hooks are ...

Three common ways to embed CSS in HTML documents

The following three methods are commonly used to d...

Solution to Element-ui upload file upload restriction

question Adding the type of uploaded file in acce...