欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

基于mysql數(shù)據(jù)庫的密碼問題詳解

 更新時(shí)間:2013年06月14日 09:56:20   作者:  
本篇文章是對(duì)mysql數(shù)據(jù)庫的密碼問題進(jìn)行了詳細(xì)的分析介紹,需要的朋友參考下

今兒在做實(shí)驗(yàn)用到mysql數(shù)據(jù)庫時(shí),用戶密碼忘記了,讓我也是找了半天:現(xiàn)在給大家介紹下我自己的方法:用到了mysql自身的函數(shù)來測(cè)試的。

復(fù)制代碼 代碼如下:

mysql> select user,password,host from user;
+------+------------------+-----------+
| user | password         | host      |
+------+------------------+-----------+
| root | 773359240eb9a1d9 | localhost |
| root |                  | fsailing1 |
| root |                  | 127.0.0.1 |
| root | 309e1248634a4f61 | %         |
+------+------------------+-----------+
4 rows in set (0.00 sec)

mysql> password("root");
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'password("root")' at line 1
mysql> select password("root");
+------------------+
| password("root") |
+------------------+
| 67457e226a1a15bd |
+------------------+
1 row in set (0.00 sec)

mysql> select password("chen");
+------------------+
| password("chen") |
+------------------+
| 309e1248634a4f61 |
+------------------+
1 row in set (0.00 sec)

相關(guān)文章

最新評(píng)論