色粉盒撒娇 发表于 2017-2-20 11:10:50

Resin配置数据源

<resource-ref>
  <res-ref-name>jdbc/helpinfopub</res-ref-name>
  <res-type>javax.sql.DataSource</res-type>
  <init-param driver-name="com.mysql.jdbc.Driver"/>
  <init-param url="jdbc:mysql://localhost/helpinfopub?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=GB2312"/>
  <init-param user=""/>
  <init-param password=""/>
  <init-param max-connections="20"/>
  <init-param max-idle-time="30"/>
</resource-ref>

 
页: [1]
查看完整版本: Resin配置数据源