系統(tǒng)版本:
Welcome to the MySQL monitor.? Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.28-log
站在用戶的角度思考問題,與客戶深入溝通,找到欽南網(wǎng)站設計與欽南網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗,讓設計與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個性化、用戶體驗好的作品,建站類型包括:成都網(wǎng)站制作、成都網(wǎng)站設計、企業(yè)官網(wǎng)、英文網(wǎng)站、手機端網(wǎng)站、網(wǎng)站推廣、國際域名空間、雅安服務器托管、企業(yè)郵箱。業(yè)務覆蓋欽南地區(qū)。
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
忘記密碼,編輯my.cnf服務配置文件
?[mysqld]段段中加入 skip-grant-tables語句,去掉認證
update user set password=password("root")where user='root';
修改密碼之后,無法立刻操作mysql,退出之后,重新連接mysql
執(zhí)行語句報錯:
You must reset your password using ALTER USER statement before executing this statement
解決方案
set password = password("root");
該問題是由于密碼授權(quán)過期導致
文章標題:MySQL重置密碼
文章分享:http://aaarwkj.com/article36/gghgpg.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供微信公眾號、定制網(wǎng)站、搜索引擎優(yōu)化、外貿(mào)建站、面包屑導航、網(wǎng)站維護
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)