$mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) $service mysqld status -bash: service: command not found
查阅了网上的各种说法
最后解决的方法就一句
$mysqld