XAMPP Update and MySQL Databases

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

XAMPP Update and MySQL Databases

Postby tomat5r » 29. March 2020 05:54

I am planning to update to the latest version of XAMPP. I have renamed my old installation c:\xampp-old. I will install the updated version to C:\xampp
I know doing this will preserve my projects in c:\xampp-old\htdocs. My question is, What will happen to my MySQL databases? Will they be overwritten or will they be untouched? Either way, to be safe, I will export the data to an .sql file before the update. However I'm curious as to what is going to happen.

Tom
tomat5r
 
Posts: 2
Joined: 29. March 2020 05:38
XAMPP version: 7.4.3
Operating System: Windows 10

Re: XAMPP Update and MySQL Databases

Postby Altrea » 29. March 2020 10:43

Hi Tom,

Your mysql Databases are saved in \xampp\mysql\data\ so if you rename your whole xampp folder these databases will be save too.
But it is always a good idea to additionally export them, for backup and/or migration purposes.

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: 10265
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: XAMPP Update and MySQL Databases

Postby tomat5r » 29. March 2020 23:46

Thank you Altrea.
Tom
tomat5r
 
Posts: 2
Joined: 29. March 2020 05:38
XAMPP version: 7.4.3
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 71 guests