關於linux沒法登錄mysql,報錯Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

登錄mysql的時候報下面這個錯誤mysql [root@localhost ~]# mysql -hlocalhost -uroot -p123456 mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 2002 (HY000): Can't connect to local
相關文章
相關標籤/搜索