部署caiforum

1、从豆豆网下载源码;

2、默认是resin 服务器+web服务器(任何或者没有)+jsdk1.4+Mysql3.23

3、没有resin 服务器,部署到了Tomcat5.5,mysql5.0。

4、修改WEB-INF/classes/db.properties

drivers=org.gjt.mm.mysql.Driver
logfile=D://DevApps//Tomcat 5.0//webapps//acjspbbs//log.txt

mysql.url=jdbc:mysql://localhost:3306/caiforum?useUnicode=true&characterEncoding =8859_1
mysql.maxconn=1000
mysql.user=root
mysql.password=dhcc

5、运行,提示无法建立连接,控制台报错:Communication failure during handshake. Is there a server running on localhost:3306

6、google得到一近似答案:

在Mysql.com的官方网站上看到这个解释,是因为新的Mysql的认证机制发生了一些变化造成的,解决方法如下:

I'd to change the authentication method at the mysql server:
set password for <username>@<servername> = old_password('<password>');

将红色那部分敲进去就解决了。

原文地址:http://blog.csdn.net/liaoxitao/archive/2006/06/01/768201.aspx

7、在命令行执行:set password for root@localhost= old_password('dhcc');安装的第一、第二、第三步顺利,第四步出错;

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值