MySQL Forums
Forum List  »  Install & Repo

Move Data Folder
Posted by: Jose Luis Fong
Date: February 19, 2020 04:57PM

I have tried several times to move my data directory on a new install of MySQL. I'm using MySQL 8.0 I have tried the following:

Stop MySQL Server
Copy data files from default C:\ProramData\MySQL\...\data\ to D:\MySQL\Data
Change the C:\ProgramData\MySQL\MySQL Server 8.0\Data\my.ini file to datadir="D:/MySQL/Data"
Attempt to Start MySQL Service but get an error.

Already verified that Folders have the same permission to all accounts like in the original folder but still no luck.

NETWORK SERVICE already have R/W/Modify in the new folder.

Thanks in advanced for any help.

Options: ReplyQuote


Subject
Written By
Posted
Move Data Folder
February 19, 2020 04:57PM
February 19, 2020 06:29PM


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.