Defined DATA disk and directory

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Defined DATA disk and directory

Postby LJHXampp » 18. December 2016 20:43

Hi All,

How do I swing the DATA folder for XAMPP content [MySQL etc] across to a different disk with more space. On the standalone MySQL install this is acheived by editing the my.ini file in the MySQL Server Directory but not sure about the XAMPP installation . The database content will be < 10 Gb.

Basically this will aslo enable me to secure a regular backup along with other data I have on my workstation.

Thanks,

lJ
LJHXampp
 
Posts: 2
Joined: 18. December 2016 20:35
XAMPP version: 7.0.13-0-VC14
Operating System: Windows 10 Pro

Re: Defined DATA disk and directory

Postby Altrea » 19. December 2016 00:56

Hi,

There is no single xampp configuration file. Each component has it's own one and all of them need to be changed.
The good news is that you can use the setup_xampp.bat script for that. Simply move your entire xampp folder to the new location and execute the setup_xampp.bat script which should adjust all of the needed paths in the configuration files.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Defined DATA disk and directory

Postby LJHXampp » 19. December 2016 15:33

Excellent, I will give it a try when I'm back in the office. Thanks Altrea
LJHXampp
 
Posts: 2
Joined: 18. December 2016 20:35
XAMPP version: 7.0.13-0-VC14
Operating System: Windows 10 Pro


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 236 guests