일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- PHP 구글 OTP 인증
- 윈도우 tail
- mysqldump: Got error: 1045
- magic bytes
- 비밀번호정규식
- mysql root 비밀번호 변경
- 아파치 웹 서버의 정보 숨기기
- javascript
- 자바스크립트비밀번호검증
- PHP 구글 OTP 연동
- (using password: YES)" when trying to connect
- JQuery checkbox 컨트롤
- php 특정 문자열 취환
- svn 충돌 해결 resolve
- 우분투 mysql 비밀번호 없이 로그인 될때
- 부트스트랩4 세로 중앙 정렬
- 세로 중앙 정렬
- libxrender1
- bootstrap modal
- wkhtmltopdf 실행 오류
- html pdf 변환
- group_concat 구분자
- Windows tail
- bootstrap
- php 개행문자
- 구글 OTP 인증
- PHP 정규식 예제
- 비밀번호검증정규식
- svn 충돌 해결 resolved
- 아마존 aws 탈퇴하기
- Today
- Total
목록DataBase (35)
투덜이 개발자
Mysql은 like concat('%','#value#','%') 오라클은 like '%'||#value#||'%' Sysbase, SQL SERVER like '%' + #value# + '%' https://godlvkhj.tistory.com/100 like에 변수 합치기 참고 : http://shonm.tistory.com/category/ibatis/like%20%EB%AC%B8%20%EC%82%AC%EC%9A%A9%EB%B2%95 오라클은 like '%'||#value#||'%' Mysql은 like concat('%','#value#','%') Sysbase, SQL SERVER like '%' + #.. godlvkhj.tistory.com
-- 실제 나이 SELECT (FLOOR(CAST(REPLACE(CURDATE(),'-','') AS UNSIGNED) / 10000) - FLOOR(CAST(REPLACE(birthday,'-','') AS UNSIGNED) / 10000) + 1) as age -- 만 나이 SELECT /* 데이터 분석을 위한 SQL레시피에 따르면 생일까지 고려한 만 나이를 계산해주는 식이 존재한다. 날짜에서 ‘-‘를 제거하여 숫자로 만들고 둘의 차에 10000을 나눈 값에 내림을 취하면 된다. `예시 : FLOOR( (20190213 - 19950624) / 10000 )` MySQL에는 날짜타입을 자동으로 텍스트로 인식할 수 있다. CAST로 INT를 지정하기 위해 UNSIGNED(SIGNED)를 활용한다. */..
Mysql 프로시저,함수 생성 권한 주기 1. 프로시저 및 함수 생성 권한 확인 SHOW VARIABLES LIKE '%log_bin_trust_function_creators%'; mysql 디폴트 값은 OFF 상태 입니다 2. 프로시저 및 함수 생성 권한 주기 SET GLOBAL log_bin_trust_function_creators = 1; 위와 같이 쿼리를 실행하면 Value 값이 ON 으로 변경이 됩니다 3. 생성된 함수나 프로시저를 확인하는 쿼리 입니다 SELECT * FROM information_schema.ROUTINES; 이제 일반 사용자들도 함수 및 프로시저를 생성 할 수가 있습니다
MariaDB 윈도우10 설치 https://mariadb.org/download Download MariaDB Server - MariaDB.org REST API Release Schedule Reporting Bugs … Continue reading "Download MariaDB Server" mariadb.org
DBeaver 기본 인코딩 변경하기. 메뉴에서 '윈도우' > '설정' > '일반' > '작업공간'에서 '텍스트 파일 인코딩'과 '새 텍스트 파일 행 분리문자' 부분을 알맞게 수정
mysql 로그 추적 MariaDB [(none)]> MariaDB [(none)]> show variables where Variable_name in ('version','log','general_log'); +---------------+-----------------+ | Variable_name | Value | +---------------+-----------------+ | general_log | OFF | | version | 10.1.43-MariaDB | +---------------+-----------------+ 2 rows in set (0.00 sec) MariaDB [(none)]> show variables like 'general%'; +-----------------..
sudo make sudo make install [postgres@gmedia postgresql-13.2]$ mkdir -p /home/postgres/pgsql/data [postgres@gmedia postgresql-13.2]$ /home/postgres/pgsql/bin/initdb -E utf-8 -D /home/postgres/pgsql/data The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The d..