dbconfig.xml (1) 썸네일형 리스트형 Database 연결 (Spring) 0. mysql 라이브러리 확인- pom.xml 에 올린 mysql 라이브러리가 정상작동하는지 확인① class로 dbconfig.java 생성 public class dbconfig { Connection con = null; public Connection dbinfo() throws Exception{ String driver = "com.mysql.cj.jdbc.Driver"; String url = "jdbc:mysql://localhost:3306/cms"; String user = "hana"; String pass = "hana1234"; Class.forNam.. 이전 1 다음