- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業(yè)務(wù)經(jīng)營許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯(lián)網(wǎng)協(xié)會理事單位
- 安全聯(lián)盟認(rèn)證網(wǎng)站身份V標(biāo)記
- 域名注冊服務(wù)機(jī)構(gòu)許可:滇D3-20230001
- 代理域名注冊服務(wù)機(jī)構(gòu):新網(wǎng)數(shù)碼
mysql登錄時出現(xiàn)了錯誤:ERROR 1045: Access denied for user,是什么原因呢?
在Windows系統(tǒng)中,mysql登錄的時候出現(xiàn)了這樣的錯誤:ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
找了一些辦法,終于得到了解決,現(xiàn)在記錄一下具體的解決方法:
c:>sc stop mysql
c:>mysqld --defaults-file="C:MySQLMySQLServer6.0my.ini" --console --skip-grant-tables
重新開一個cmd
c:>mysql -uroot -p
enter password: <- 回車
mysql>update user SET Password=PASSWord('newpassword') where USER='root';
mysql>FLUSH PRIVILEGES;
mysql>quit
售前咨詢
售后咨詢
備案咨詢
二維碼
TOP