Re-instating copies of htdocs and mysql data

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

Re-instating copies of htdocs and mysql data

Postby stikai » 22. May 2024 08:58

Hi, I cannot start mysql server. Have tried to change port numbers, which did not help.

I decided to backup the whole xampp folder to externral disc, unistall and install xampp again (which solved port/sql server start issue).

Would it be possible to somehow "copy" to this new installation my wordpress site located in htdocs/* and mysql/data* folders?

Thank you very much.
stikai
 
Posts: 2
Joined: 22. May 2024 08:52
XAMPP version: 3.3.0
Operating System: Windows 10

Re: Re-instating copies of htdocs and mysql data

Postby Altrea » 22. May 2024 10:10

Hi,

You can move your wordpress installation over to the new server. There are multiple guides on the internet available for "wordpress migration".
Most of the guides are about online webserver migration with copying the files via FTP which you can change by a simple file copy.

I would not copy over any Database files because it is very likely that you will copy over the issue. It would be better if you have a recent backup of the database you can recover.
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: 11952
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Re-instating copies of htdocs and mysql data

Postby stikai » 22. May 2024 10:23

Thank you very much for answer.
I am just trying to repare local install (I know I can reinstall xampp, create clean local wordpress install and than migrate back to local from my live site).
I am using local install which is than migrated to live web from time to time using wordpress migrate plugin. I have made some changes in local posts, but next day when trying to start xampp mysql there was above mentioned error before sync to web.
I wonder if (how) I could avoid this in the future, my idea was to sync relevant xampp folders to external drive, which could be quite fast to recover (in case of such error simple rewrite from last folders sync).
stikai
 
Posts: 2
Joined: 22. May 2024 08:52
XAMPP version: 3.3.0
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 213 guests