请问,我使用myeclipse的DB EXPLORER连接数据库,连接远程服务器上的数据库没有问题,但是本地机器上server 却不行,错误是Communiaction failure during
handshake.Is there a server running on 127.0.0.1?是什么原因呢
handshake.Is there a server running on 127.0.0.1?是什么原因呢
把Class.forName("org.gjt.mm.mysql.Driver") 换成
Class.forName("com.mysql.jdbc.Driver")
http://blog.csdn.net/liaoxitao/archive/2006/06/01/768201.aspx