Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

mysql

windows

Xampp error after moving xampp folder:

enter image description here

Apache is running fine:

enter image description here

as given below image i'm sucess to run apache but unable to run mysql if in case i moved and run xampp both apache and mysql but its shows error which is fresh and it show the error like "Table doesn't exist in engine" #1932 as given up image. please solve the issue anyone help pls

like image 770
Yagya Bashyal Avatar asked Aug 04 '16 06:08

Yagya Bashyal


People also ask

Why is XAMPP mysql not working?

The good news is that, if this does happen, there are three methods you can use to troubleshoot the issue: Run XAMPP using administrator privileges. Restore your database backup. Change your MySQL port.

Is mysql available in XAMPP?

The MySQL Database forms a vital component of the XAMPP Stack, being one of the most significant features offered by it. With XAMPP, you can use phpMyAdmin to create & use your XAMPP MySQL Database in minutes.


Video Answer


3 Answers

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.

like image 171
Rohan Patil Avatar answered Oct 19 '22 06:10

Rohan Patil


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

like image 41
Nava Bogatee Avatar answered Oct 19 '22 06:10

Nava Bogatee


If you have copied & Pasted files from an old backup folder to new then its simple. Just copy the old ibdata1 into your new one. You can find it from \xampp\mysql\data And restart your mysql.

like image 9
Jay Momaya Avatar answered Oct 19 '22 06:10

Jay Momaya