打印

lnmp 1.4 mysql命令行启动的问题

lnmp 1.4 mysql命令行启动的问题

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

TOP

ERROR 2002 可能是mysql没启动,可以ps aux 确认一下

ERROR 1045可能是mysql登陆需要输入密码,没输入密码或密码错误

TOP