51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3193|回复: 3
打印 上一主题 下一主题

[原创] 安装mantis创建数据库时报错:

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2007-8-27 09:24:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在linux下安装了mysql+apache+php+mantis.然后登录页面http://192.168.0.101/mantis/admin/install.php创建数据库(因为用的是mantis-1.1.0a4所以没有db_generate.sql文件,只能是通过页面安装)创建的时候就报错:Does administrative user have access to the database? ( Client does not support authentication protocol requested by server; consider upgrading MySQL client ).
然后我在info.php里看到mysql的Client API version 才3.23.49,(我安装PHP的时已经指定了mysql的路径了,而且我本机也安装了mysql 5.0版的),希望大家帮忙,谢谢 ,急呀`,在线等
能不能升级Client API version 呢`

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2007-8-28 09:20:16 | 只看该作者

???

怎么没有人说话呀,是不是我哪里说错了,
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2007-8-28 15:25:35 | 只看该作者
First, without testing it out, one can never know what is really the problem.

After said that, the error message clearly told you what is the problem and what you need to do.
Your mysqld (server) has a version of 5 and mysql (client) is 3.x. By default, 5.0 uses a different  authentication protocol. So, you need either upgrade the client, or configure the server to use the old authentication protocol.

For bug tracking, use Bugzero, fully supported!
http://www.websina.com/bugzero
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2007-9-28 18:31:35 | 只看该作者

出现过这样的问题

我的解决方法比较笨
讲mantis 目录下的sql 文件打开,然后将里边的sql 语句分别执行,就可以了,一共需要创建27个表哦,

原因:你的mysql 版本有冲突,有字段不识别
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-9-30 05:39 , Processed in 0.094405 second(s), 29 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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