Quantcast
Channel: OKWAVE 閲覧数の多い質問(Java/253)【本日】
Viewing all articles
Browse latest Browse all 68675

MySQL JDBC エラー

$
0
0
以下の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

Viewing all articles
Browse latest Browse all 68675


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>