- Code: Select all
110506 21:02:36 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: 'host' (errno: 2)
Seems it may be a corrupted data file in the mysql\data folder.
It would be advisable to uninstall correctly and do a fresh install by following this procedure.
Make sure no ticks in any of the Svc check boxes.
Stop all XAMPP components.
Pres Exit on the control panel.
Delete the xampp folder completely.
Reboot as it often helps clean things up.
Download the ZIP
version of XAMPP.
Extract the xampp
folder to the C:\ drive or the root of any drive or partition like D:\, E:\, etc.
Run the C:\xampp\setup_xampp.bat
file (this sets the paths for you).
Open the XAMPP Control Panel and start Apache and MySQL (do not tick any Svc boxes)
When both Apache and MySQL are running type http://localhost/
select your language and exercise all the demos.
You should now be able to proceed and enjoy XAMPP.
Similar issue and 2 solutions here:viewtopic.php?f=16&t=36263
Reinstall or download the ZIP and copy over the mysql\data folder.
I prefer a fresh install in case there are other corruption issues yet to raise their ugly heads.