Home > Database > Mysql Tutorial > mysql-java.net.UnknownHostException: hostname

mysql-java.net.UnknownHostException: hostname

PHPz
Release: 2019-02-23 15:26:50
Original
2067 people have browsed it

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
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template