mysql root 密碼更改
如果忘記了 MySQL 的 root 密碼,可以用以下方法重新設定:
1. 關閉 MySQL 伺服器。
/etc/rc.d/init.d/mysqld stop
2. 用以下指令啟動 MySQL,以跳過檢查權限的資料表
mysqld_safe --skip-grant-tables &
(顯示訊息 nohup: ignoring input and redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql 直接按Enter)
3. 現在己經可以用空密碼進入 MySQL
mysql -u root
4. 進入 MySQL 後執行以下指令更改 mysql root 密碼:
mysql> update mysql.user set password=PASSWORD(」new_password」) where User=』root';
mysql> flush privileges;
mysql> quit
5. 最後只需重新啟動 MySQL,便可以用新設定的密碼進入了。
參考自:http://www.cosa.org.tw/forum/index.php?topic=73.0
迴響
mysql root 密碼更改 | 豬窩
hi!,I love your writing very a lot! share we be in contact more
about your article on AOL? I require an expert in this area to solve my problem.
May be that is you! Taking a look ahead to peer you.
mysql root 密碼更改 | 豬窩 | 33
superslot ซุปเปอร์สล็อต
Superslot เว็บสล็อตแตกง่าย ยอดนิยม ที่แจกเครดิตฟรี 50 บาท แค่สมัคร เล่นง่ายๆ
ได้เงินจริง “ซุปเปอร์สล็อต” เล่นเกมสล็อต ได้เงินจริง ระบบเสถียรดีที่สุด ไม่ต้องแชร์ wallet สมัครสล็อต ใช้วอลเล็ต ฝาก-ถอน สมัคร SLOTSUPER ด้วยระบบออโต้ ที่ทำง่ายๆได้ด้วยตัวเอง ขั้นตอนมีไม่กี่ขั้นตอน สามารถทำได้ด้วยตัวเองตลอด 24 ชั่วโมง ที่ผู้ให้บริการเกมสล็อตออนไลน์
อย่างครบวงจร แจ็คพอตแตกไว
มี สล็อต ยิงปลา บิงโก คาสิโน และเกมอื่นๆ แบบครบครันSuperslot
mysql root 密碼更改 | 豬窩
Wow! This blog looks just like my old one! It's on a totally different topic but it has
pretty much the same page layout and design. Superb
choice of colors!
mysql root 密碼更改 | 豬窩
Greetings! Very helpful advice in this particular article!
It's the little changes that produce the most significant changes.
Thanks a lot for sharing!
mysql root 密碼更改 | 豬窩
This is the perfect webpage for everyone who really wants to
find out about this topic. You realize so much its almost hard to argue with
you (not that I actually would want to?HaHa). You certainly put a fresh spin on a topic that's been written about for a long time.
Great stuff, just excellent!