>> Edit article
이름
제목
패스워드
[에러 메세지] org/gjt/mm/mysql/Driver java.sql.SQLException: driver not found: jdbc:mysql://localhost/xxx [코드] try { Class.forName("org.gjt.mm.mysql.Driver"); } catch(ClassNotFoundException e){System.out.println(e.getMessage());} String db_url = "jdbc:mysql://localhost/blue"; Connection Conn = DriverManager.getConnection(db_url,"###","###"); Statement stmt = Conn.createStatement(); ResultSet rs = stmt.executeQuery("select title from test limit 3"); while (rs.next()) { System.out.println(new String(rs.getString(1))); } // 머가 문제인지 잘 모르겠어요 드라이버는...{JavaHome}/jre/lib/ext 에설치 되 있어요
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved