Solution to 1067 when Mysql starts in Windows

Solution to 1067 when Mysql starts in Windows

I just started working a few days ago and installed Mysql and it was just able to open. Today I went to the company and found that I could not start the service and reported error 1067. I looked up some solutions on the Internet and found many versions. The following is my solution:

1. Open Run-Event Viewer--Windows Log--Application--Find Error Sign, as shown below

Since you are using the installed version, the Datadir under My.ini has not been modified, so an error is reported and the data file cannot be found when starting. Therefore, you need to change the Datadir in the my.ini file to the data file under your installation path.

Then save and restart.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Causes and solutions for invalid service name when starting MySQL service under Windows 7
  • Windows cannot start MySQL service and reports error 1067 solution
  • Solution to MySQL 5.7 not starting under Windows
  • Using batch processing to start and shut down mysql under Windows
  • How to install and start MySQL under Windows
  • Simple solution to the Chinese garbled characters and service startup problems of MySQL in Windows
  • Detailed graphic tutorial on installation, startup and basic configuration of MySQL under Windows version
  • Windows10 mysql 8.0.12 non-installation version configuration startup method
  • Solve the problem of PhPStudy MySQL startup failure under Windows system
  • Universal solution for MySQL failure to start under Windows system

<<:  File sharing between Ubuntu and Windows under VMware

>>:  Setting up shared folders in Ubuntu virtual machine of VMWare14.0.0

Recommend

How to export mysql table structure to excel

The requirements are as follows Export the table ...

Copy and paste is the enemy of packaging

Before talking about OO, design patterns, and the ...

Implementing search box function with search icon based on html css

Preface Let me share with you how to make a searc...

Vue realizes click flip effect

Use vue to simply implement a click flip effect f...

js to realize login and registration functions

This article example shares the specific code of ...

How to solve the problem that MySQL cannot start because it cannot create PID

Problem Description The MySQL startup error messa...

Implementation of building Kubernetes cluster with VirtualBox+Ubuntu16

Table of contents About Kubernetes Basic environm...

Hide div in HTML Hide table TABLE or DIV content css style

I solved a problem tonight that has been botherin...

Example of using Dockerfile to build an nginx image

Introduction to Dockerfile Docker can automatical...

Detailed description of mysql replace into usage

The replace statement is generally similar to ins...

Essential bonus items for optimizing and packaging the front end of Vue projects

Table of contents Preface 1. Routing lazy loading...

JavaScript canvas realizes dynamic point and line effect

This article shares the specific code for JavaScr...

Linux uses stty to display and modify terminal line settings

Sttty is a common command for changing and printi...