일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- wkhtmltopdf 실행 오류
- javascript
- 구글 OTP 인증
- 비밀번호정규식
- 아파치 웹 서버의 정보 숨기기
- 윈도우 tail
- bootstrap modal
- PHP 정규식 예제
- 우분투 mysql 비밀번호 없이 로그인 될때
- Windows tail
- mysql root 비밀번호 변경
- html pdf 변환
- php 개행문자
- php 특정 문자열 취환
- mysqldump: Got error: 1045
- 세로 중앙 정렬
- svn 충돌 해결 resolved
- (using password: YES)" when trying to connect
- bootstrap
- 아마존 aws 탈퇴하기
- libxrender1
- JQuery checkbox 컨트롤
- group_concat 구분자
- 자바스크립트비밀번호검증
- 부트스트랩4 세로 중앙 정렬
- magic bytes
- PHP 구글 OTP 인증
- svn 충돌 해결 resolve
- 비밀번호검증정규식
- PHP 구글 OTP 연동
- Today
- Total
목록DataBase/MySQL (31)
투덜이 개발자
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
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%'; +-----------------..
mysqldump Unknown table 'COLUMN_STATISTICS' in information_schema (1109) 와 같은 에러 발생하여 --column-statistics=0 추가함 mysqldump --column-statistics=0 --host= --user= --password=
[Mysql] 테이블 용량 확인 SELECT concat(table_schema,'.',table_name), convert(concat(round(data_length/(1024*1024*1024),2),'G'), char) DATA, convert(concat(round(index_length/(1024*1024*1024),2),'G'), char) idx, convert(concat(round((data_length+index_length)/(1024*1024*1024),2),'G'), char) as total_size, round(index_length/data_length,2) idxfrac FROM information_schema.TABLES WHERE TABLE_SCHEMA = '데이터베..
vi /etc/mysql/mariadb.conf.d/50-server.cnf --> 설정파일 #bind-address = 127.0.0.1 -- > 주석처리 mysql 재시작 $ service mysql restart $ netstat -antp | grep mysql --> 확인 방화벽 포트 허용 $ sudo ufw allow out 3306/tcp $ sudo ufw allow in 3306/tcp
ERROR 2006 (HY000) at line 1837: MySQL server has gone away 원인 max_allowed_packet 이 16MB (기본값)로 되어 있음 vi /etc/mysql/mariadb.conf.d/50-server.cnf max_allowed_packet = 1024M 로 수정 하고 mysql 재시작 $ service mysql restart --> MariaDB 재시작은 ubuntu 기준 확인 show variables like 'max_allowed_packet';