Yesterday i did follow this guide to set up ( again ) Apache, PHP and MySQL
http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-10-yosemite/
today after i stared up my mac mini i found mysql was not running i try to start it from preference panel but did not start
i than did it from shell
sudo /usr/local/mysql/support-files/mysql.server start
Password:
Starting MySQL
............... SUCCESS!
/usr/local/mysql/bin/mysql -v
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
sudo /usr/local/mysql/support-files/mysql.server start
Starting MySQL
............ ERROR! The server quit without updating PID file (/usr/local/mysql/data/iMac-di-Al404.local.pid).
i did try again with start and after getting success i did
mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
not sure if is on or not after first start
http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-10-yosemite/
today after i stared up my mac mini i found mysql was not running i try to start it from preference panel but did not start
i than did it from shell
sudo /usr/local/mysql/support-files/mysql.server start
Password:
Starting MySQL
............... SUCCESS!
/usr/local/mysql/bin/mysql -v
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
sudo /usr/local/mysql/support-files/mysql.server start
Starting MySQL
............ ERROR! The server quit without updating PID file (/usr/local/mysql/data/iMac-di-Al404.local.pid).
i did try again with start and after getting success i did
mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
not sure if is on or not after first start