下面是我的spring xml配置文件
[code="xml"]
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
value="com.mysql.jdbc.Driver"/>
jdbc:mysql://localhost:3306/test
<bean id="userDAO"
class="onlyfun.caterpillar.UserDAO">
<property name="dataSource" ref="dataSource"/>
[/code]
但在运行简单的jdbc测试时,抛错
java.sql.SQLException: Unknown initial character set index '45' received from server. Initial client character set can be forced via the 'characterEncoding' property.
请问一下这个怎么解决啊,谢谢