用jsp连接mysql数据库时出现了这样的错误,怎么解决?
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.UnknownHostException
MESSAGE: hostname
STACKTRACE:
java.net.UnknownHostException: hostname