<强> 强>
<强> 强>
[root@MySQL-01 ~] # mysql -uroot - p Enter 密码: ERROR 2002, (HY000):,可以't connect 用local MySQL server through socket “/tmp/mysql.sock”, (2)
<强>解决强>
[root@MySQL-01 ~] # MySQL -uroot -p ——=TCP协议 Enter 密码: Welcome 用,MySQL 监控只,Commands 最终获得with ,趁机\ g。 Your MySQL  connection id  is 16127年 版本:Server 5.6.36-log MySQL  Community Server (GPL) Copyright (c), 2000年,2017年,Oracle 和/或its 子公司只All rights 保留。 Oracle is  a registered trademark  of Oracle Corporation 和/或它的 子公司只Other names  may be trademarks of their 各自 的主人。 Type 帮助;”,或“\ h”, for 帮助只Type ‘\ c’,用clear 从而current input 语句。 mysql>