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:
Answer:
I followed the steps on this link below and managed to solve my problem:
Hope it helps everyone.
Thanks.