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

Fabric.js implements DIY postcard function

This article shares the specific code of fabricjs...

Examples of MySQL and Python interaction

Table of contents 1. Prepare data Create a data t...

A practical record of troubleshooting a surge in Redis connections in Docker

On Saturday, the redis server on the production s...

JavaScript to achieve a simple message board case

Use Javascript to implement a message board examp...

A brief discussion on the Linux kernel's support for floating-point operations

Currently, most CPUs support floating-point units...

MySQL 8.0.15 installation and configuration tutorial under Win10

What I have been learning recently involves knowl...

Add a copy code button code to the website code block pre tag

Referring to other more professional blog systems...

Vue2.x - Example of using anti-shake and throttling

Table of contents utils: Use in vue: explain: Ima...

React realizes secondary linkage (left and right linkage)

This article shares the specific code of React to...

Nginx location matching rule example

1. Grammar location [=|~|~*|^~|@] /uri/ { ... } 2...

Detailed tutorial for installing influxdb in docker (performance test)

1. Prerequisites 1. The project has been deployed...

How to display div on object without being blocked by object animation

Today I made a menu button. When you move the mous...

Analysis of the Nesting Rules of XHTML Tags

In the XHTML language, we all know that the ul ta...

How to use Maxwell to synchronize MySQL data in real time

Table of contents About Maxwell Configuration and...