myeclipse中,java连接mysql时候,连接速度过慢,且出现以下代码,是什么原因?如何使得连接速度变快 15
类似与这样的:ThuMay1520:46:28CST2014TRACE:-->Field.java:580com.mysql.jdbc.Field.getStringFr...
类似与这样的:
Thu May 15 20:46:28 CST 2014 TRACE: --> Field.java:580 com.mysql.jdbc.Field.getStringFromBytes(11, 3)
Thu May 15 20:46:28 CST 2014 TRACE: --> ConnectionProperties.java:2408 com.mysql.jdbc.ConnectionProperties.getUseUnicode()
Thu May 15 20:46:28 CST 2014 TRACE: <-- ConnectionProperties.java:2408 com.mysql.jdbc.ConnectionProperties.getUseUnicode(..) returning true
Thu May 15 20:46:28 CST 2014 TRACE: --> Connection.java:3362 com.mysql.jdbc.Connection.getCharacterSetMetadata()
Thu May 15 20:46:28 CST 2014 TRACE: <-- Connection.java:3362 com.mysql.jdbc.Connection.getCharacterSetMetadata(..) returning null
Thu May 15 20:46:28 CST 2014 TRACE: --> ConnectionProperties.java:1867 com.mysql.jdbc.ConnectionProperties.getEncoding()
Thu May 15 20:46:28 CST 2014 TRACE: <-- ConnectionProperties.java:1867 com.mysql.jdbc.Field.getStringFromBytes(24, 4)
returning true 展开
Thu May 15 20:46:28 CST 2014 TRACE: --> Field.java:580 com.mysql.jdbc.Field.getStringFromBytes(11, 3)
Thu May 15 20:46:28 CST 2014 TRACE: --> ConnectionProperties.java:2408 com.mysql.jdbc.ConnectionProperties.getUseUnicode()
Thu May 15 20:46:28 CST 2014 TRACE: <-- ConnectionProperties.java:2408 com.mysql.jdbc.ConnectionProperties.getUseUnicode(..) returning true
Thu May 15 20:46:28 CST 2014 TRACE: --> Connection.java:3362 com.mysql.jdbc.Connection.getCharacterSetMetadata()
Thu May 15 20:46:28 CST 2014 TRACE: <-- Connection.java:3362 com.mysql.jdbc.Connection.getCharacterSetMetadata(..) returning null
Thu May 15 20:46:28 CST 2014 TRACE: --> ConnectionProperties.java:1867 com.mysql.jdbc.ConnectionProperties.getEncoding()
Thu May 15 20:46:28 CST 2014 TRACE: <-- ConnectionProperties.java:1867 com.mysql.jdbc.Field.getStringFromBytes(24, 4)
returning true 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询