dlopezgonzalez
dlopezgonzalez

Reputation: 4297

I cannot change datadir of mysql in windows

I am trying to change the datadir a mysql installation (of xampp) to put it in a cloud directory like dropbox o Google Drive a development database.

The steps followed by me are these:

Note: When i put all files in its original place (c:\xampp\mysql\data), all works fine. And no log is produced in my data directory.

How can i do?

Upvotes: 0

Views: 2745

Answers (3)

dzboot02
dzboot02

Reputation: 2970

I know this is old, but this could help.

I guess the problem is in the space in "Google Drive" folder name, I did the same thing but with GoogleDrive as folder name and it worked.

Upvotes: 0

minivip
minivip

Reputation: 193

I my case, Windows 7 and MySQL 5.5, it worked when I changed the permissions to the Google Drive folder. I gave the same permissions as the ones for the Dropbox folder, indeed some users were missing in Google Drive, e.g. SYSTEM.

Upvotes: 0

dlopezgonzalez
dlopezgonzalez

Reputation: 4297

For all the people with the same problem.

This does not work if mysql stuff is on Google Drive folders, i dont know why. In other hand, this works with Dropbox folders for example.

Upvotes: 1

Related Questions