当前位置:Gxlcms > mysql > mysql-java.net.UnknownHostException:hostname

mysql-java.net.UnknownHostException:hostname

时间:2021-07-01 10:21:17 帮助过:54人阅读

mysqljsp数据库exception

相关mysql视频教程推荐:《mysql教程》

用jsp连接mysql数据库时出现了这样的错误,怎么解决?

com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.UnknownHostExceptionMESSAGE: hostname
STACKTRACE:
java.net.UnknownHostException: hostname

人气教程排行