msyql
时间:2008-09-17
来源:互联网
系统 centos 5.2 。yum安装的mysql-server5.0.45
设置密码后,php死活连不上。百思不得其解,后来查看mysql.user表发现password尽然是16位,汗。
不是4.1以后都是*+41位吗?怎么还是16位。
下面是测试结果:
[root@localhost ~]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> select password('123456');
+--------------------+
| password('123456') |
+--------------------+
| 565491d704013245 |
+--------------------+
1 row in set (0.00 sec)
这是何故,请大侠们帮忙指点一下。谢谢
设置密码后,php死活连不上。百思不得其解,后来查看mysql.user表发现password尽然是16位,汗。
不是4.1以后都是*+41位吗?怎么还是16位。
下面是测试结果:
[root@localhost ~]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> select password('123456');
+--------------------+
| password('123456') |
+--------------------+
| 565491d704013245 |
+--------------------+
1 row in set (0.00 sec)
这是何故,请大侠们帮忙指点一下。谢谢
作者: jingjingboy 发布时间: 2008-09-17
有人遇到这个问题不?
作者: FZL-LW 发布时间: 2008-09-17
在配置文件里添加
[mysqld]
old_passwords=OFF
[mysqld]
old_passwords=OFF
作者: smrlgw 发布时间: 2008-09-17
我正在学习mysql,就当是经验,先学习一下啦,谢谢楼主啦.
作者: yylqymzk 发布时间: 2008-09-17
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28