连接mysql的问题???急!
在连接mysql时如果root密码为空,我的bean就能连接上。如果我设置了root用户的口令时总提示以下错误:
Communication failure during handshake. Is there a server running o
???
DBurl = "jdbc:mysql://localhost:3306/test?user=test&password=123&useUnicode=true&characterEncoding=8859_1";