标题: bugzilla安装高手进 [打印本页] 作者: jiujin 时间: 2008-1-3 16:51 标题: bugzilla安装高手进 安装bugzilla 使用的是mysql5.0,在第二次运行checksetup.pl时候出现数据库连接不上的问题,我确定创建的数据库和localconfig中的配置没有问题.以前安装用的mysql4.1.是不是mysql5.0以上的版本真的有兼容问题,如果有怎么解决呢?
这是数据库建立时的语句:create database bugs;grant all privileges to bugs.* for 'bugs'@'localhost' identified by '1234';flush privileges;
这是localconfig中的:
$db_host = 'localhost'; # where is the database?
$db_name = 'bugs'; # name of the SQL database
$db_user = 'bugs'; # user to attach to the SQL database
$db_port = 3306;
$db_pass = "1234';
这是checksetup.pl报的错误:
ERROR:Client does not support authentication protocol requested by sever;consider upgrading MySQL client
Is your database installed and up an running?
Do you have the correct username and password selected in localconfig?作者: jiujin 时间: 2008-1-3 17:08
在线等,麻烦高手指条明路作者: huliyan198456 时间: 2008-1-3 22:24
令人头疼的问题。
继续等待!作者: jiujin 时间: 2008-1-4 12:16
我知道原因了,是因为使用的perl模板的DBD::MYSQL部分太老了,而mysql5.0用的是新的密码加密算法,有2种解决方法,一种是使用新的模板(我不会),
一种是强制mysql数据库兼容原来的加密算法,方法是: UPDATE mysql.user SET Password = OLD_PASSWORD('1234') WHERE Host = 'localhost' AND User = 'bugs';flush privileges;
但是我使用第二种方法的时候,再用用户名bugs,密码1234就登陆不上数据库了,真的快晕了,哪位数据库高手指教一下,小女子不胜感激!作者: tianai 时间: 2009-4-16 18:19 标题: 跟你一样的错误 我跟你一样的,还好按照你的去做了,只剩下那个什么e-mail地址,我不知道怎么输入``我记得安装的时候好象没有这个,我没有安装apache作者: fctest 时间: 2009-6-28 15:15
$db_host = 'localhost'; # where is the database?
$db_port = 3306;
$db_name = 'bugs'; # name of the SQL database
$db_user = 'bugs'; # user to attach to the SQL database
$db_pass = "1234';这样应该好了作者: 自由自在的人 时间: 2009-6-30 00:22
不会做作者: bill_hen 时间: 2009-6-30 07:00
你是说 using mysql client, you cannot login bugs?
This is probably because the client is 5.x, same as the server.作者: jiujin 时间: 2009-7-29 16:24
感谢您的回答,只不过事过境迁,很久之前的事情,我自己也不记得是否和如何修改好的了,作者: sunhope800 时间: 2009-8-10 14:36
路过,来看看