Linux下用在终端输入mysql 出现 Can't connect to local MySQL server through socket是因为没启动mysql的守护进程,执行service mysqld start就行了