MySQL Forums
Forum List  »  Install & Repo

Re: on Windows 10 Mysql 5.7: Mysqld command fails. Can't find \data directory
Posted by: Barry Galbraith
Date: October 31, 2015 10:28PM

The forward slash is OK. If you MUST use backslash then use two \\.
Backslash is the escape character.
That said, the data path has a space in it, so you'll need quotes around the string. Datadir also needs a trailing slash
datadir="C:/ProgramData/MySQL/MySQL Server 5.7/Data/"

Note that MySQL service is owned by NETWORK_SERVICE, so you'll need to make sure that NETWORK_SERVICE has full privileges on your chosen datadir.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: on Windows 10 Mysql 5.7: Mysqld command fails. Can't find \data directory
October 31, 2015 10:28PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.