Xampp-mysql - “Table doesn't exist in engine” #1932

后端 未结 10 2086
[愿得一人]
[愿得一人] 2020-12-15 05:18

Xampp error after moving xampp folder:

Apache is running fine:

as given below image i\'m sucess to run apache but unable to run mysql if in

相关标签:
10条回答
  • 2020-12-15 05:21

    I have faced same issue but copying the xampp\mysql\data\ibdata1 was not solved my problem, because I install new version of xampp, if you upgrading your xampp first make backup from all htdocs and mysql folder, in my case I just backup the all xampp to the new folder like old-xampp then install new xampp and then you need do the following steps before starting your new xampp servers:

    1. Backup the phpmyadmin folder and ibdata1 from your new installation form this location xampp\mysql\data.
    2. Then Go to your old xampp folder old-xampp\mysql\data and copy the ibdata1 file and phpmyadmin from old location.
    3. Then open your new xampp folder xampp\mysql\data and past them there.
    4. Start the xampp servers.
    0 讨论(0)
  • 2020-12-15 05:25
    1. stop mysql
    2. copy xampp\mysql\data\ib* from old server to new server
    3. start mysql
    0 讨论(0)
  • 2020-12-15 05:26

    Copy the ib_logfileXX and ibdata file from old mysql/data folder to the new mysql data folder and it will fix the issue

    0 讨论(0)
  • 2020-12-15 05:30

    I have faced same issue and sorted using below step.

    1. Go to MySQL config file (my file at C:\xampp\mysql\bin\my.ini)
    2. Check for the line innodb_data_file_path = ibdata1:10M:autoextend
    3. Next check the ibdata1 file exist under C:/xampp/mysql/data/
    4. If file does not exist copy the ibdata1 file from location C:\xampp\mysql\backup\ibdata1

    hope it helps to someone.

    0 讨论(0)
  • 2020-12-15 05:33

    For me I removed whole data folder from xampp\mysql\ and pasted data folder of previous one here which solved my problem...

    0 讨论(0)
  • 2020-12-15 05:33

    I had the same issue. I had a backup of my C:\xampp\mysql\data folder. But integrating it with the newly installed xampp had issues. So I located the C:\xampp\mysql\bin\my.ini file and directed innodb_data_home_dir = "C:/xampp/mysql/data" to my backed-up data folder and it worked flawlessly.

    0 讨论(0)
提交回复
热议问题