블로그
- 49일차소스_12 String url="jdbc:mysql://localhost/kimdb"; static final String user="root"; static final String pw="1234 (Exception e) { // TODO Auto-generated catch block e.printStackTrace().......
- 50일차소스_10 String url="jdbc:mysql://localhost/kimdb"; static final String user="root"; static final String pw="1234 Connection conn=null; try { Class.forName(driverName); conn=DriverManager.getConnection(url,user,pw); } catch
- [JSP] Bootstrap JSP 게시판 만들기 - 자바 DAO 연결 Connection { String dbURL = "jdbc:oracle:thin:@localhost:1521:xe"; String dbID = "test"; String dbPassword = "1234 "oracle.jdbc.driver.OracleDriver"); conn = DriverManager.getConnection(dbURL, dbID, dbPassword); } catch
- [JSP] Bootstrap JSP 게시판 만들기 - 데이터베이스 연결 확인 =DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe", "test", "1234"); // 드라이버매니저가 접속해야하는 ("드라이버가 없습니다."); }catch(SQLExce.......
- [영진전문대학 컴퓨터정보계열] MySQL 원격 가능 makeConnection() { String url = "jdbc:mysql://localhost/book_db"; String id = "root"; String password = "1234 성공"); con = DriverManager.getConnection(url, id, password); System.out.println("데이터 베이스 연결 성공"); } catch