linux刚装好mysql

进入时报错如下:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

这很简单,是因为mysql服务未启动,但从字面意思上看不出问题,比较诡异,解决办法:

service mysqld start