< parameter>
< name>username< /name>
< value>root< /value>
< /parameter>
< parameter>
< name>password< /name>
< value>< /value>
< /parameter>
< !-- Class name for mm.mysql JDBC driver -->
< parameter>
< name>driverClassName< /name>
< value>com.mysql.jdbc.Driver< /value>
< /parameter>
< parameter>
< name>url< /name>
< value>< ![CDATA[jdbc:mysql://localhost:3306/workshopdb?
useUnicode=true&characterEncoding=GBK]]>< /value>
< /parameter>
< /ResourceParams>
< /Context>
文章来源于领测软件测试网 https://www.ltesting.net/