New Install over Old

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

New Install over Old

Postby KeepSmiling » 04. May 2016 02:07

Hello.
Thanks for being there Xampp.
I read previously about installing a new version of I think MySQL separately and just read tonight about not installing separate components.
Hopefully this is a dumb question.
Can I install the newest version of Xampp over an old without risk of losing anything?
I'm using Windows Vista.
Does everything just update and keep stuff where I already have it or do I need to install pieces?
Again, thanks so much for being there : )
KeepSmiling
 
Posts: 6
Joined: 04. May 2013 05:05
Operating System: Vista

Re: New Install over Old

Postby melius2 » 04. May 2016 03:17

Yes, there should not be any problems. However ALWAYS backup before doing the update.
.
melius2
 
Posts: 14
Joined: 21. September 2015 02:16
XAMPP version: 5.5.34
Operating System: Windows 8

Re: New Install over Old

Postby KeepSmiling » 04. May 2016 03:50

Thank you very much :)
KeepSmiling
 
Posts: 6
Joined: 04. May 2013 05:05
Operating System: Vista

Re: New Install over Old

Postby KeepSmiling » 04. May 2016 05:30

I see you're using the MariaDB whereas before you were using MySQL.
Are these co-compatible?
Will the MariaDB open the MySQL files I already have?
Sorry for the ignorance : )
KeepSmiling
 
Posts: 6
Joined: 04. May 2013 05:05
Operating System: Vista

Re: New Install over Old

Postby Altrea » 04. May 2016 06:59

Hi,

KeepSmiling wrote:Can I install the newest version of Xampp over an old without risk of losing anything?

No.
You can find multiple support threads about corrupt XAMPP installation because people try to overinstalling a xampp version over another.

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

Re: New Install over Old

Postby Nobbie » 04. May 2016 10:45

Dont trust to "melius2", i think he is just kidding. Of course(!) you may loose ALL(!) your data, as well all your HTML and PHP files as well all Databases. You cannot simply overwrite an older version by a newer, this costs everything!

You should:

a) Backup the whole Xampp folder (just for safety reasons).

b) additionally, safe the htdocs folder (all your files and folders)

c) additionally safe the data folder of MySQL

d) optionally safe the configuration files of Apache (httpd.conf etc.) and PHP (php.ini) and MySQL (my.ini or my.cnf), depending on the fact, if you changed some of these.

Then uninstall the old Xampp, install the new one, then restore the htdocs folder (see above), also restore the data folder and if you are quite lucky, the new Xampp will show the old contents now. If anything fails, you finally have your Xampp backup. It might be safe, not to overwrite the existing installation, but create a new one on another PC (or in a VirtualHost environment) instead.
Nobbie
 
Posts: 8759
Joined: 09. March 2008 13:04

Re: New Install over Old

Postby KeepSmiling » 05. May 2016 22:37

Whew.
Thanks so much everyone. Now I can proceed with confidence.
KeepSmiling
 
Posts: 6
Joined: 04. May 2013 05:05
Operating System: Vista


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 26 guests