How to solve "Unable to start mysql service error 1069"

How to solve "Unable to start mysql service error 1069"

Today, when I was on the road, a colleague sent me a message saying that the website backend was inaccessible. It was so urgent!

I rushed to the company and logged into the server. Everything was normal. Fortunately, it seemed that it was not a problem with the server itself. Looking at the error message, it should be a problem with MySQL.

I checked the service options and found that it was not started. When I started MYSQL, an error message appeared: "Unable to start the MySQL service on the local computer. Error 1069: Unable to start the service due to a login failure." This made me very depressed. How could an error occur in MYSQL? Here is my own solution

1.

Open your own server (mine is a VPS), then select [My Computer], right click, and select [Manage]

2.

In the [Management] interface, find [Local Users and Groups], select [Users], and then find the [MYSQL] user in [Users].

3.

Select the [MYSQL] user, right-click, select [Set Password], and then an input dialog box will pop up. Enter the new password and confirm the password, then [OK].

4.

After completing the above, also in the [Management] interface, find [Services and Applications], then select [Services], and find the [MYSQL] service option.

5.

Right-click in the [MYSQL] service option, select [Properties], and then a dialog box will pop up. At this time, select the [Login] tab. Then enter the password you just changed and click OK.

6.

Finally, return to the [Service] interface, right-click in the [MYSQL] service option, and select [Start]. That's it.

You may also be interested in:
  • Analysis and Solution of ERROR:2002 Reported When MySQL Starts
  • Solution to the problem that the InnoDB engine is disabled when MySQL is started
  • Solution to the problem that the configuration file my.cnf in MySQL cannot be started due to permission issues
  • How to solve the problem that MySQL cannot start because it cannot create PID
  • Detailed explanation of Mysql 5.7.18 installation method and the process of starting MySQL service
  • Solve the problem that the service cannot be started when installing the decompressed version of mysql 5.7.18 winx64 on Win7 x64
  • Solution to MySQL failure to start

<<:  React diff algorithm source code analysis

>>:  Example analysis to fix problems in historical Linux images

Recommend

Web data storage: Cookie, UserData, SessionStorage, WebSqlDatabase

Cookie It is a standard way to save the state of ...

Axios cancels repeated requests

Table of contents Preface 1. How to cancel a requ...

A complete guide to some uncommon but useful CSS attribute operations

1. Custom text selection ::selection { background...

MySQL InnoDB tablespace encryption example detailed explanation

Preface Starting from MySQL 5.7.11, MySQL support...

Example code for realizing charging effect of B station with css+svg

difficulty Two mask creation of svg graphics Firs...

How to disable IE10's password clear text display and quick clear function

IE10 provides a quick clear button (X icon) and a ...

How to configure CDN scheduling using Nginx_geo module

Introducing the Geo module of Nginx The geo direc...

How to use Zen coding in Dreamweaver

After I published my last article “Zen Coding: A Q...

Thirty HTML coding guidelines for beginners

1. Always close HTML tags In the source code of p...

Detailed tutorial of pycharm and ssh remote access server docker

Background: Some experiments need to be completed...

MySQL 8.0.15 installation and configuration method graphic tutorial

This article records the installation and configu...