Board logo

標題: 如何利用Command的方式修改admin的密碼? [打印本頁]

作者: aaron    時間: 2006-9-15 11:06     標題: 如何利用Command的方式修改admin的密碼?

1.
先用 root 登入PacketShow的Linux系統
2.
m-bash-2.05b# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 16089 to server version: 4.1.0-alpha-Max
sType 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use PacketCatch
Database changed
mysql> select pass from W_passwd where user='admin';
+-------+
| pass  |
+-------+
| admin |
+-------+
1 row in set (0.00 sec)
mysql>
如此即可得到admin密碼變更為admin




歡迎光臨 HGIGA Service Docs (http://docs.hgiga.com/Discuz4/) Powered by Discuz! 4.1.0