Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 유용한 코드
- camel rule
- TypeReference
- 구동하기
- window7
- arguements
- spring boot
- 유용한사용법
- svn ignore
- 유용한 표현
- 카멜룰
- XMLAGG
- Marshalling
- 로우병합
- JExcel
- Jackson
- filed
- 호출
- WM_CONCAT
- json
- javascripts
- New Project
- BiffException
- 초기데이터
- plan_table
- eclipse pliugin
- 인수배열
- unmashalling
- put
- mput
Archives
- Today
- Total
하루에 한가지
postgres 설치부터 ping 본문
DB 생성 db의 인코딩에 주위해야 한다.
db connection 부터 인코딩을 탄다.
public class Ping {
public static void main(String[] args) throws ClassNotFoundException, SQLException {
// String url = "jdbc:postgresql:postgres";
String url = "jdbc:postgresql://localhost:5432/Test";
String usr = "postgres";
String pwd = "1111";
Class.forName("org.postgresql.Driver");
Connection db = DriverManager.getConnection(url, usr, pwd);
System.out.println(db);
}
}
'db > postgreSQL' 카테고리의 다른 글
postgreSQL 에서 테이블 형상 scan (0) | 2019.11.18 |
---|
Comments