eclipseμ databaseλ₯Ό μ°κ²°ν΄λ³΄λ €κ³ νλ€.
κ·Έλ¬κΈ° μν΄μ νμΌμ λ€μ΄ λ°μμΌ νλ€.
λ° λ§ν¬λ‘ μ μνλ€.
https://dev.mysql.com/downloads/
MySQL :: MySQL Community Downloads
The world's most popular open source database Contact MySQL | Login | Register
dev.mysql.com
Connector/J ν΄λ¦
μμ€ν μ μ ννλΌλ λ¬Έκ΅¬κ° λ¨λλ° λ° μ¬μ§μ²λΌ "Platform Independent"λ‘ μ€μ μ ν ν Download λ²νΌμ λλ¬μ€λ€.
ZIP νμΌλ‘ λ€μ΄λ‘λλ₯Ό λ°μ κ²μ΄λ©°,
ORACLE λ‘κ·ΈμΈμ ν΄μΌ λ€μ΄λ°μ μ μλ€.
λμΆ©.. μ μΌλΌλκ±° μ κΈ°..
λ€μ΄μ΄ μλ£λμμΌλ©΄ μμΆμ νμ΄μ€λ€.
mysql-connector-j-8.1.0 νμΌμ νλ‘μ νΈ>src/main/webapp/WEB-INF/libμ λ£μ΄μ€λ€.
νλ‘μ νΈ μ°ν΄λ¦ > Build Path > Configure Build Path...
Libraries > Classpath > Add External JARs ...
Add External JARs ... λλ₯΄λ©΄ νμΌμ μ ννλΌκ³ λ¨λλ°
mysql-connector-j-8.1.0.jar νμΌ μ΄κΈ°
Apply and Close
νλ‘μ νΈ μ°ν΄λ¦ > Properties
Deployment Assembly > Add...
Java Build Path Entries ν΄λ¦ ν Next
mysql-connector-j-8.1.0.jar ν΄λ¦ ν Finish
μμ κ°μ΄ νλ©΄ eclipseμ sql μ°κ²°μ ν κ²μ΄λ€.
λ΄κ° μ°κ³ μλ dbμ μ°κ²°νλ κ²μ μΆν λ€λ₯Έ ν¬μ€ν μΌλ‘ μμ±ν΄λ³΄κ² λ€.
'πΉπππ' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
JUnit Test Case μμ±μ μ μν μ : fail() (0) | 2023.10.30 |
---|---|
[JAVA] java.lang.NumberFormatException (0) | 2023.10.29 |
JSP λ΄μ₯ κ°μ²΄ (0) | 2023.10.27 |
taglibs.jar λ€μ΄ λ°κΈ° (0) | 2023.10.26 |
[JAVA] request.setCharacterEncoding() μ΄ μ λ λ : unhandled exception type UnsupportedEncodingException (0) | 2023.10.25 |