domingo, 1 de octubre de 2017

XAMPP MAC mysql does not run



When mysql server does not run in mac OS, simple solution.

edit file:
/Applications/XAMPP/xamppfiles/etc/my.cnf
find the [mysqld] section, add one line:
innodb_force_recovery = 1
then run
sudo /Applications/XAMPP/bin/mysql.server start
everything is ok again.
and then the last step:
edit the my.cnf again and remove the line you just added :
innodb_force_recovery = 1



0 comentarios:

Publicar un comentario