36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
# Telosys 데이터베이스 설정 (★ 접속정보 채우기 ★)
|
|
# ⚠ 비밀번호가 들어가므로 이 파일은 git 에 커밋하지 마세요 (.gitignore 권장).
|
|
# JDBC 드라이버 jar 는 TelosysTools/lib/ 에 넣으면 자동 인식됩니다.
|
|
|
|
databases :
|
|
|
|
- id: db
|
|
name: my database
|
|
type: MYSQL
|
|
driver: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://DB:3306/DATABASE?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true
|
|
user: ID
|
|
password: PW
|
|
# MySQL 은 DB명이 catalog 역할
|
|
catalog: DATABASE
|
|
schema: '!'
|
|
tableNamePattern: '%'
|
|
tableTypes: TABLE
|
|
linksManyToOne: true
|
|
linksOneToMany: false
|
|
linksManyToMany: false
|
|
dbComment: true
|
|
dbName: true
|
|
dbType: true
|
|
|
|
# PostgreSQL 예시
|
|
# - id: pg
|
|
# type: POSTGRESQL
|
|
# driver: org.postgresql.Driver
|
|
# url: jdbc:postgresql://HOST:5432/DBNAME
|
|
# user: USER
|
|
# password: PASSWORD
|
|
# catalog: '!'
|
|
# schema: public
|
|
# tableTypes: TABLE
|