본문 바로가기

STUDY91

SPRINGBOOT CONSOLE SQL 정렬 springboot 콘솔에 쿼리를 정렬 출력해주는 것에 대해서 알아보았다. 보통 콘솔에 쿼리를 보면 한줄로 길게 나열된 것을 볼 수 있는데, 이 방법을 쓰면 좀 더 보기 쉽게 보여준다. pom.xml에 복사하여 넣는다. org.bgee.log4jdbc-log4j2 log4jdbc-log4j2-jdbc4.1 1.16Colored by Color Scriptercsapplication.xml에 데이터베이스 정보를 등록하다. mybatis: mapper-locations: classpath*:mappers/basic/**/*.xmlspring: datasource: #url: jdbc:mysql://localhost/test?autoReconnect=true #driverClassName: com.mysql... 2018. 7. 19.
GITHUB PERMISSION ERROR github를 쓰다가 마지막 github에 push 하는데 Permissionb to ~~~~~ denied 403 ERROR 가 발생!!! 해결방법을 찾아보니 git remote set-url origin https://:@github.com//.gitcs 안에 있는 곳만 자신의 ID, PASSWD, REPOSIT_NAME을 넣고 인증하면 해결이 가능하다. git push -u origin mastercs 인증 후 다시 PUSH 하면 정상적으로 되는 것을 확인할 수 있다. 2018. 7. 18.
CENTOS MARIA DB 한글깨짐 CentOS에서 Maria DB 한글깨짐이 발생하였다. 그리하여 문자셋을 utf-8로 변경하는 작업을 하였다. 아래의 경로로 들어간 후[root@localhost /]# vim /etc/my.cnf [mysqld] 아래에 수정을 해주면 된다.## This group is read both both by the client and the server# use it for options that affect everything#[client-server] ## include all files from the config directory#!includedir /etc/my.cnf.d [mysqld]lower_case_table_names=1collation-server=utf8_unicode_cicharac.. 2018. 7. 9.
TIBERO DATA IMPORT, EXPORT 현재 티베로 스테이지DB에서 개발DB로 한방에 백업본을 옮기는 작업을 찾아보고 정리를 하려고 한다. 티베로DB에서 EXPORT cmd> tbexport ip=127.0.0.1 port=8629 sid=tibero username=test password=test full=y file=D:\backup\export_20170710.dat logdir=D:\backup\logcs 티베로DB에 IMPORT cmd> tbimport ip=127.0.0.1 port=8629 sid=tibero username=test password=test full=y file=D:\backup\export_20180710.dat log=D:\backup\log\import_log_20180710.logcs 자세한 옵션 도움말.. 2018. 7. 2.