c盤清理的步驟是什么(如何清理C盤空間)
如何清理C盤空間怎么清理C盤的垃圾文件?每天上網(wǎng)會(huì)給電腦帶來很多臨時(shí)文件,這些垃圾文件不清理掉時(shí)間久了就會(huì)影響到電腦的運(yùn)行速度。那怎
2022/12/08
(資料圖片僅供參考)
問題:新搭建的mysql5.6.20,默認(rèn)沒有密碼直接輸入mysql回車進(jìn)行登錄:mysql將root@"localhost"改為root@"%"update mysql.user set host="%" where user="root" and host="localhost";退出重新登錄:mysql -uroot -p123456會(huì)直接報(bào)錯(cuò)賬號(hào)密碼錯(cuò)誤,這時(shí)候直接輸入mysql回車還可以登錄再執(zhí)行:select user,host from mysql.user;直接報(bào)錯(cuò):Access denied; you need (at least one of) the RELOAD privilege(s) for this operation解決辦法:因?yàn)閞oot@"localhost" 改為root@"%"可以使用mysql -uroot -p123456 -h 192.168.10.130登錄然后重新創(chuàng)建root@"localhost"賬號(hào)grant all on *.* to root@"localhost" identified by "123456" with grant option;flush privileges;這樣子既可以遠(yuǎn)程登錄root也可以本機(jī)直接登錄猜想:將root@"localhost" 改為root@"%",host里面沒有做業(yè)務(wù)ip和主機(jī)名之間的映射
標(biāo)簽: 直接輸入 遠(yuǎn)程登錄 重新登錄