HGIGA Service Docs 
» 遊客:  註冊 | 登錄 | 統計 | 幫助
RSS 訂閱當前論壇  

上一主題 下一主題
       
標題: 如何利用Command的方式修改admin的密碼?  
  本主題由 service.support 於 2008-10-16 11:26 移動 
 
aaron





UID 9
精華 0
積分 0
帖子 3
閱讀權限 200
註冊 2006-9-14
來自 Taiwan
狀態 離線
如何利用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




Aaron Tsai ,HGIGA
2006-9-15 11:06#1
查看資料  訪問主頁  Blog  發短消息  Yahoo!  頂部
       


  可打印版本 | 推薦給朋友 | 訂閱主題 | 收藏主題  


 

   Powered by Discuz! 4.1.0  © 2001-2006 Transformed by wxxslt for HGIGA Inc. / Service Support
Processed in 0.013608 second(s), 10 queries , Gzip enabled

所有時間為 GMT+8, 現在時間是 2024-5-19 03:47