일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- java
- checbox
- @RequestBody
- exception
- DB
- Oracle
- 호환성
- SSL
- jquery
- 네이버스마트 에디터
- HTML5
- spring form tag
- maven
- 날짜
- 전자정부 표준프레임워크
- MYSQL
- html
- json
- JSTL
- 오라클
- 웹 플랫폼 설치 관리자
- RADIO
- php
- switch
- 한글
- 톰캣
- 이클립스
- 문자열
- 스크립트
- null
- Today
- Total
목록분류 전체보기 (525)
개인적인 정리
MySQL 8.0 이상에서는 caching_sha2_password 가 default authentication plugin 이다. (기존은 mysql_native_password plugin이 default 였다.) 어느 버전부터 변경되었는지는 잘 모름. 사용자 생성시 패스워드 방식을 다르게 할려면 mysql>CREATE USER 'sha2user'@'localhost' identified with caching_sha2_password by 'password'; mysql>CREATE USER 'nativeuser'@'localhost' identified with mysql_native_password by 'password'; 라고 하면 된다. 기본 설정은 my.cnf (윈도우는 my.ini)에서..
mysql>SHOW GLOBAL VARIABLES 아래와 같은 global variables 와 그에 대한 값이 출력된다. 모든 목록이 아닌 검색을 원할 때는 mysql>SHOW GLOBAL VARIABLES LIKE 'version'; mysql>SHOW GLOBAL VARIABLES LIKE '%version'; 과 같이 조회해도 된다. 서버를 마주하게 되면 한번 날려봐도 좋을 것 같다. activate_all_roles_on_login admin_address admin_port auto_generate_certs auto_increment_increment auto_increment_offset autocommit automatic_sp_privileges avoid_temporal_upgrade..
mysql> \s 또는 mysql> status 하면 아래와 같은 mysql 의 상태정보가 출력된다. mysql> \s -------------- ./mysql Ver 8.0.18 for Linux on x86_64 (Source distribution) Connection id: 8 Current database: Current user: root@localhost SSL: Not in use Current pager: stdout Using outfile: '' Using delimiter: ; Server version: 8.0.18 Source distribution Protocol version: 10 Connection: Localhost via UNIX socket Server charact..
split 또는 explode 와 유사한 함수 SELECT SUBSTRING_INDEX('1234565@9999@CCCC', '@', 1), SUBSTRING_INDEX('1234565@9999@CCCC', '@', 2), SUBSTRING_INDEX('1234565@9999@CCCC', '@', 3), SUBSTRING_INDEX('1234565@9999@CCCC', '@', -1), SUBSTRING_INDEX('1234565@9999@CCCC', '@', -2), SUBSTRING_INDEX('1234565@9999@CCCC', '@', -3); 로 테스트 해보면 일정부분 알 수 있다. 아래와 같은 결과가 나온다. SUBSTRING_INDEX('1234565@9999@CCCC', '@', 1)의 결..
MySQL 사용자 명/호스트 명 변경 mysql>RENAME USER 'aaaa'@'localhost' to 'dddd'@'localhost';
C:\Users\사용자\.m2\repository
MySQL driver 다운로드 하는 방법 1. pom.xml (메이븐을 이용) mysql-connector-java 부분에
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. mysql driver 버전을 올리고 나니 위와 같은 오류가 발생 드라이버명을 바꿔준다. Globals.DriverClassName=com.mysql.cj.jdbc.Driver --> Globals.DriverClassName=com.mysql.cj.jdbc.Driver * 그리고 서버와 연결하는 쿼리 스..