MySQL cannot start the problem after modifying the DataDir path in Windows system, error 1067

Source: Internet
Author: User

There are a lot of posts on how to change the directory of the MySQL database under Windows server2008, here's a quick step, and if you're not successful, check out other posts first.

5.1 \data changed to D:\MysqlData . 1 . Create a folder D:\MysqlData 2 " C:\Documents and Settings\All Users\Application Data\mysql\mysql Server 5.1\data "  F:/mysql/data
3

#datadir="c:/documents and Settings/all users/application data/mysql/mysql Server 5.1/data/ "
Change the value of DataDir to: datadir="f:/mysql/data" after saving, restart the MySQL service.

This post mainly describes how to resolve the " unable to start problem after modifying DataDir path in Windows Server 2008 system, error 1067" issue:

In fact, there's only one simple step: Right-click Properties---security on our newly created Data folder to add Network service to groups and users (G).

MySQL cannot start the problem after modifying the DataDir path in Windows system, error 1067

Related Article

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.