I get the following odd error when I try doing a restart with MySQL:
$ sudo mysql.server stop
Password:
Shutting down MySQL
.. SUCCESS!
$ sudo mysql.server start
Starting MySQL
SUCCESS!
$ sudo mysql.server restart
Shutting down MySQL
.. SUCCESS!
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/my.local.pid).
I had a look at the answer here: PID error on mysql.server start?
but I get the following errors:
$ mysql_install_db
FATAL ERROR: Could not find ./bin/my_print_defaults
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
Any suggestions?