美文网首页
c3p0 的xml配置问题

c3p0 的xml配置问题

作者: KallyCat | 来源:发表于2020-05-01 00:31 被阅读0次

IDEA 的话, 记住一定要放在 resource 文件夹下,才能识别到!!!

<?xml version="1.0" encoding="UTF-8"?>
<c3p0-config>
  <default-config>
    <property name="driverClass">com.mysql.cj.jdbc.Driver</property>
    <property name="jdbcUrl">jdbc:mysql://localhost:3306/shop?&amp;serverTimezone=UTC</property>
    <property name="user">root</property>
    <property name="password">Lsm,506</property>

  </default-config>

</c3p0-config>

相关文章

网友评论

      本文标题:c3p0 的xml配置问题

      本文链接:https://www.haomeiwen.com/subject/jpoxghtx.html