centOS启动mysql ($mysql -u root -p)报错:
     ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
     解决办法:
      mysql -h 127.0.0.1 -u root -p