MYsql – ERROR! The server quit without updating PID file

Question:

I'm trying to run:

mysql.server start

and return me

ERROR! The server quit without updating PID file (/usr/local/var/mysql/user.pid).

I tried to run:

unset TMPDIR mysql_install_db

but he returned:

[WARNING] mysql_install_db is deprecated. Please consider switching to mysqld –initialize [ERROR] The data directory needs to be specified.

Any idea how to solve it?

Thanks.

Ps.: mysql Ver 14.14 Distrib 5.7.9, for osx10.11 (x86_64) using EditLine wrapper

Note: I managed to solve my problem through this tutorial:

https://coderwall.com/p/os6woq/uninstall-all-those-broken-versions-of-mysql-and-re-install-it-with-brew-on-mac-mavericks

Answer:

I followed the steps on this link below and managed to solve my problem:

https://coderwall.com/p/os6woq/uninstall-all-those-broken-versions-of-mysql-and-re-install-it-with-brew-on-mac-mavericks

Hope it helps everyone.

Thanks.

Scroll to Top