Mysql service cannot be started. error 1067: _ MySQL

Source: Internet
Author: User
Mysql service cannot start error 1067 solve bitsCN.com no matter what version of mysql is installed, the mysql service in the management tool will return an error in the middle. Content: unable to start mysql service on local computer error 1067: process aborted unexpectedly.
The solution is as follows:
Find my. ini file, edit the content (if the file does not exist, create a new one), including at least two basic configurations: basedir and datadir.
[Mysqld]
# Set basedir to installation path, e.g., c:/mysql
# Set it to the MYSQL installation directory
Basedir = D:/www/WebServer/MySQL
# Set datadir to location of data directory,
# E.g., c:/mysql/data or d:/mydata/data
# Set it to the MYSQL data directory
Datadir = D:/www/WebServer/MySQL/data
In addition, you need an idea
[WinMySQLadmin]
Server = D:/www/WebServer/MySQL/bin/mysqld-nt.exe
User = root
Password = xxxxxxxx
# The above is the configuration for setting WinMySQLadmin
[Client]
User = root
Password = xxxxxxxx
Hehe ~ :) Solved
The content of my. ini file is as follows. I just changed it myself.
[Mysqld]
# Set basedir to installation path, e.g., D:/mysql
# Set it to the MYSQL installation directory
Basedir = D:/mysql
# Set datadir to location of data directory,
# E.g., d:/mysql/data or d:/mysql/mydata/data
# Set it to the MYSQL data directory
Datadir = D:/MySQL/databitsCN.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.