1 / 8

DB 연동

DB 연동. 학습 목차. mysql 설치 DB 설계 DB 연동. mysql 설치. 실습. http://ce.sungshin.ac.kr/~kjminn/anyang id: root pwd:. BOOK 테이블. 데이터베이스 연동. 실습. JDBC 설치 JDBC 다운로드 mysql-connector-java-5.1.5.zip

gisela-hart
Download Presentation

DB 연동

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DB 연동

  2. 학습 목차 • mysql 설치 • DB 설계 • DB 연동

  3. mysql 설치 실습 • http://ce.sungshin.ac.kr/~kjminn/anyang • id: root • pwd:

  4. BOOK 테이블

  5. 데이터베이스 연동 실습 • JDBC 설치 • JDBC 다운로드 • mysql-connector-java-5.1.5.zip • 압축파일 중 mysql-connector-java-5.1.5-bin.jar을 C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext로 복사함

  6. 데이터베이스 연동 • classpath 설정 내컴퓨터 => 단축메뉴 => 속성 => 고급 => 환경변수 => 시스템 변수에 새로만들기 ▶ 변수이름: classpath ▶ 변수 값 : .; C:\Program Files\Java\설치된 jdk 폴더명\jre\lib

  7. 데이터베이스 연동 실습 • DB 연동 소스 코드

  8. 학습 정리 • mysql 설치 • http://apmsetup.com • DB 설계를 위해 ERD와 table설계 • ERD: 테이블간의 관계를 설정하는 다이어그램 • DB 생성 및 table 생성: mysql 관리자로 들어가서 생성 • DB 연동을 위해 JDBC 드라이버 설치 • http://mysql.com • classpath 설정 • DB 연동 방법 • JDBC드라이버 로딩 • DB 연결 및 연결객체 생성

More Related