Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

安装时出现这个问题?

[复制链接]
mirage2010 发表于 2006-2-21 00:16:37 | 显示全部楼层 |阅读模式
Discuz! info: Can not connect to MySQL server

Time: 2006-2-20 4:11pm
Script: /install.php

Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Errno.: 1251

Similar error report has beed dispatched to administrator before.


我该怎么办?谢谢了 用的是mysql-5.0.18-win32
 楼主| mirage2010 发表于 2006-2-21 09:41:01 | 显示全部楼层
有人知道是怎么回事吗?在配置config.inc.php文件时
// [CH] 以下变量请根据空间商提供的账号参数修改,如有疑问,请联系服务器提供商

        $dbhost = 'localhost';                        // database server
                                                // 数据库服务器

        $dbuser = 'mirage';                        // database username
                                                // 数据库用户名

        $dbpw = '123456';                        // database password
                                                // 数据库密码

        $dbname = 'life';                        // database name
                                                // 数据库名

他就会报错。

如果用
$dbuser = 'root';                        // database username
                                                // 数据库用户名

        $dbpw = '';                        // database password
                                                // 数据库密码
就没有问题我在建MySQL是root没有设置密码。
回复

使用道具 举报

carlkyo 发表于 2006-2-21 11:28:54 | 显示全部楼层
Client does not support authentication protocol requested by server; consider upgrading MySQL client

我都沒試過出現這樣的問題
你試下裝最新版看看
或者其他的版本
回复

使用道具 举报

 楼主| mirage2010 发表于 2006-2-21 20:38:08 | 显示全部楼层
我用MySQLAdministrato新建了用户名mirage密码是123456
新建数据明是life
就会出现这个错误Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client

我在MySQLAdministrato里把root的密码去除,dbuser = 'root';                        // database username
                                                // 数据库用户名

        $dbpw = '';                        // database password
                                                // 数据库密码
就没有问题。用的是同样的数据库名。
如果给root加上密码,还是出现上面的问题。
回复

使用道具 举报

 楼主| mirage2010 发表于 2006-2-23 17:23:14 | 显示全部楼层
有谁遇到过我这种情况呀
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-25 11:03 , Processed in 0.023764 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表