Help copy c:\xampp fordel to D:\xampp

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

Help copy c:\xampp fordel to D:\xampp

Postby mixun0 » 07. December 2021 20:13

Hi, is possible copy c:\xampp old to D:\xampp new install??
please help..

all my databases are in C:\xampp fordel from my old windows 10 and i can't connect to mysql
Help please
mixun0
 
Posts: 2
Joined: 07. December 2021 18:55
XAMPP version: 3.3.0
Operating System: windows

Re: Help copy c:\xampp fordel to D:\xampp

Postby Altrea » 08. December 2021 08:50

Hi,

If the versions are identical it might be possible to copy over the entire \xampp\mysql\data\ folder.
Buit if the reason for that is that your old MariaDB doesn't start at all you probably move the issue to the new installation as well.

So the first step would be to analyse the Problem.
- What is the content of the full XAMPP control panel log window?
- What is the contents of your mysql_error.log?
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Help copy c:\xampp fordel to D:\xampp

Postby mixun0 » 08. December 2021 10:03

This is the logs.....

2021-12-08 1:09:03 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-12-08 1:09:03 0 [Note] InnoDB: Uses event mutexes
2021-12-08 1:09:03 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-12-08 1:09:03 0 [Note] InnoDB: Number of pools: 1
2021-12-08 1:09:03 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-12-08 1:09:03 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-12-08 1:09:03 0 [Note] InnoDB: Completed initialization of buffer pool
2021-12-08 1:09:03 0 [Warning] InnoDB: Are you sure you are using the right ib_logfiles to start up the database? Log sequence number in the ib_logfiles is 47063, less than the log sequence number in the first system tablespace file header, 139827.
2021-12-08 1:09:03 0 [Note] InnoDB: The log sequence number 139827 in the system tablespace does not match the log sequence number 47063 in the ib_logfiles!
2021-12-08 1:09:03 0 [Warning] InnoDB: Ignoring a doublewrite copy of page [page id: space=0, page number=282] with future log sequence number 489611086
2021-12-08 1:09:03 0 [Warning] InnoDB: Ignoring a doublewrite copy of page [page id: space=73, page number=22] with future log sequence number 489623393
2021-12-08 1:09:03 0 [Warning] InnoDB: Ignoring a doublewrite copy of page [page id: space=0, page number=321] with future log sequence number 489624278
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=7] log sequence number 443504016 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=3] log sequence number 401577328 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=2] log sequence number 489443820 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=4] log sequence number 489365333 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=11] log sequence number 448939857 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=1] log sequence number 401577328 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=5] log sequence number 98346 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=6] log sequence number 489614113 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=329] log sequence number 489614113 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=45] log sequence number 489614619 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=403] log sequence number 489614619 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=46] log sequence number 489615074 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=425] log sequence number 489615074 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=47] log sequence number 489615484 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=480] log sequence number 489615484 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=48] log sequence number 489615842 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=406] log sequence number 489615842 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=49] log sequence number 489616361 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=352] log sequence number 489616361 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=50] log sequence number 489616735 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=337] log sequence number 489616735 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=51] log sequence number 489618330 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=470] log sequence number 489618330 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=52] log sequence number 489618988 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=326] log sequence number 489618988 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=53] log sequence number 489619346 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=477] log sequence number 489619346 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=54] log sequence number 489619891 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=371] log sequence number 489619891 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=55] log sequence number 489620395 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=486] log sequence number 489620395 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=56] log sequence number 489568926 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=372] log sequence number 489620855 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=57] log sequence number 489568965 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=327] log sequence number 489568965 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=58] log sequence number 489569066 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Page [page id: space=0, page number=59] log sequence number 489569105 is in the future! Current system log sequence number 47072.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] InnoDB: Database page corruption on disk or a failed file read of tablespace innodb_system page [page id: space=0, page number=359]. You may have to recover from a backup.
2021-12-08 1:09:03 0 [Note] InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 9a2a8410000001670000000000000000000000001d2e3b510002000000000000000000000000000012b312d0ffffffff0000ffffffff0000000211f9000000000000014237b20000
InnoDB: End of page dump
2021-12-08 1:09:03 0 [Note] InnoDB: Uncompressed page, stored checksum in field1 2586477584, calculated checksums for field1: crc32 3157363868, innodb 208235352, page type 2 == UNDO LOG.none 3735928559, stored checksum in field2 2772836647, calculated checksums for field2: crc32 3157363868, innodb 2565178795, none 3735928559, page LSN 0 489569105, low 4 bytes of LSN at page end 489622611, page number (if stored to page already) 359, space id (if created with >= MySQL-4.1.1 and stored already) 0
InnoDB: Page may be an undo log page
2021-12-08 1:09:03 0 [Note] InnoDB: It is also possible that your operating system has corrupted its own file cache and rebooting your computer removes the error. If the corrupt page is an index page. You can also try to fix the corruption by dumping, dropping, and reimporting the corrupt table. You can use CHECK TABLE to scan your table for corruption. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2021-12-08 1:09:03 0 [ERROR] [FATAL] InnoDB: Aborting because of a corrupt database page.
211208 1:09:03 [ERROR] mysqld got exception 0x80000003 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.

To report this bug, see https://mariadb.com/kb/en/reporting-bugs

We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

Server version: 10.4.22-MariaDB
key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=0
max_threads=65537
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 20294 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
mysqld.exe!my_parameter_handler()
ucrtbase.dll!raise()
ucrtbase.dll!abort()
mysqld.exe!?_Assign_grow@?$_Hash_vec@V?$allocator@V?$_List_unchecked_iterator@V?$_List_val@U?$_List_simple_types@U?$pair@QEAU_iobuf@@PEAX@std@@@std@@@std@@@std@@@std@@@std@@QEAAX_KV?$_List_unchecked_iterator@V?$_List_val@U?$_List_simple_types@U?$pair@QEAU_iobuf@@PEAX@std@@@std@@@std@@@2@@Z()
mysqld.exe!?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@QEBD_K@Z()
mysqld.exe!pthread_dummy()
mysqld.exe!pthread_dummy()
mysqld.exe!?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@QEBD_K@Z()
mysqld.exe!?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@QEBD_K@Z()
mysqld.exe!pthread_dummy()
mysqld.exe!pthread_dummy()
mysqld.exe!pthread_dummy()
mysqld.exe!pthread_dummy()
mysqld.exe!pthread_dummy()
mysqld.exe!?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@QEBD_K@Z()
mysqld.exe!parse_user()
mysqld.exe!?ha_initialize_handlerton@@YAHPEAUst_plugin_int@@@Z()
mysqld.exe!?plugin_init@@YAHPEAHPEAPEADH@Z()
mysqld.exe!?plugin_init@@YAHPEAHPEAPEADH@Z()
mysqld.exe!?init_net_server_extension@@YAXPEAVTHD@@@Z()
mysqld.exe!?win_main@@YAHHPEAPEAD@Z()
mysqld.exe!?mysql_service@@YAXPEAX@Z()
ucrtbase.dll!_crt_at_quick_exit()
KERNEL32.DLL!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
information that should help you find out what is causing the crash.
Writing a core file at C:\xampp\mysql\data\
Minidump written to C:\xampp\mysql\data\mysqld.dmp
mixun0
 
Posts: 2
Joined: 07. December 2021 18:55
XAMPP version: 3.3.0
Operating System: windows

Re: Help copy c:\xampp fordel to D:\xampp

Postby acecoolz » 09. December 2021 02:50

to move data to another location is so easy..
1. stop apache & mysql in old server
2. copy mysql/data folder to safe place
3. stop apache & mysql in new server
4. rename mysql/data folder in the new server to something else. ex: data2
5. copy old data folder to new mysql folder
6. start apache & mysql in new server
7. enter mysql/bin find mysql_upgrade.. klik it
8. done
acecoolz
 
Posts: 2
Joined: 09. December 2021 02:45
XAMPP version: 7.2.8
Operating System: win11


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 91 guests