免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1661 | 回复: 2
打印 上一主题 下一主题

PHP安装的时候的错误提示?请教高手 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-19 11:29 |只看该作者 |倒序浏览
我给你说一下情况:
我在自己的WINXP下配置实验:
iis6.0 +php(4.3.10)+mysql(4.1.10)
全都安装的好以后,安装PHPBB的时候,就出现如下错误


warning :mysql_connect() client does not support authentication protocol requested by server.conside upgrading mysql client  
supplied argument is not a vaild mysql_link resource in  XXX:\db\mysql4.php on

phpbb: critical error

论坛徽章:
0
2 [报告]
发表于 2006-05-19 11:59 |只看该作者
我能告诉你的就是 php 自带的 mysql 客户端太低,这个问题在 MySQL 升级到 4.1 版本以上时出现。
但是你是 windows 平台下,我就不知道怎么解决了,google 看看。

论坛徽章:
0
3 [报告]
发表于 2006-05-19 13:03 |只看该作者

回复 1楼 winmxj 的帖子

手册上的说明:
Common Problems with MySQL and PHP:
Error: Client does not support authentication protocol: This is most often encountered when trying to use the older mysql extension with MySQL 4.1.1 and later. Possible solutions are: downgrade to MySQL 4.0; switch to PHP 5 and the newer mysqli extension; or configure the MySQL server with --old-passwords.

另外,比较简单的方法,你可以尝试:
在服务器端将密码修改为旧的密码形式:SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('newpwd');
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP