显示the last packet sent successfully to the server was 0 milliseconds ago


各位大神求教了


------解决思路----------------------
URL后面的3306后面的数据库名哪里去了?数据库怎么知道你连接的那个数据库,你这样怎么查找?
一般的写法jdbc:mysql://123.57.236.168:3306/emp?
------解决思路----------------------
是的,我试了一下,确实不添加dbname也是可以的。两种都可以看到mysql里面的所有的表,暂时还不清楚有什么区别。