在myeclipse连接mysql时,出现错误,如何解决?

error while performing database login with the mydriver1 driver :
Cannot load connection class because of underlying exception:
java.lang.NumberFormatException: For input string "*3306>1*"
我这个经常会出现于java.lang有关的异常,是myeclipse 安装时出错了吗?

你在写Connection URL时候,里面给你的jdbc:mysql://<localhost>[<:3306>]/<atm>
是一个例子,要进行相应的改变。如你的数据库名是studb可以写成jdbc:mysql://localhost:3306/studb
温馨提示:答案为网友推荐,仅供参考
相似回答