以下のJDBCでのエラーに悩まされています。 ご教授お願いします。 import java.sql.*; public class RootingM { public static void main(String[] args) { System.out.println( \"=> loading driver:\" ); Class.forName(\"com.mysql.jdbc.Driver\"); System.out.println(\"Ok\"); System.out.println( \"=> connecting:\" ); Connection con = null; con = DriverManager.getConnection(url, user, pass); System.out.println(\"Ok\"); Statement stmt = con.createStatement(); ~~~ 以下省略 ~~~ 【DOS プロンプト】 => loading driver: OK => connecting: java.sql.SQLException: Communication link failure: java.io.IOException, underlyi ng cause: Unexpected end of input stream ** BEGIN NESTED EXCEPTION ** java.io.IOException MESSAGE: Unexpected end of input stream STACKTRACE: java.io.IOException: Unexp
↧