반응형 전체 글168 table engine type = memory 일때 heap_table_size 용량늘리기 고작 1.1M 짜리 db 덤프파일 밀어넣는데 이러한 에러가 발생되었다. ERROR 1114 (HY000) at line 54: The table '테이블명' is full 1. sql파일 vi로 열어서 create table 부분 확인 해서 engine type 확인. ( 명령어로 한번더 확인해봄) mysql> show table status from event like 'sale09_event';+--------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+--.. 2019. 10. 24. my.cnf 수정 후 에러시 에러 1.[ERROR] You have enabled the binary log, but you haven't provided the mandatory serverid. Please refer to the proper server start-up parameters documentation 원인: my.cnf 안에 server-id 주석후 해당 에러 발생 해결: server-id 설정 후 정상작동 완료 에러 2.[ERROR] InnoDB: The innodb_system data file '/usr/local/mysql/data/ibdata1' is of a different size 768 pages (rounded down to MB) than the 131072 pages specified in t.. 2019. 10. 22. mysql general_log 설정하기 1. 설정상태 확인mysql> show variables like '%general%'; +------------------+-------------------------------------+ | Variable_name | Value | +------------------+-------------------------------------+ | general_log | OFF | | general_log_file | /usr/local/mysql/data/localhost.log | +------------------+--------------------.. 2019. 10. 22. centos7 nginx 설치 1. nginx 저장소 추가# vi /etc/yum.repos.d/nginx.repo [nginx]name=nginx repobaseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/gpgcheck=0enabled=1 * OS, OSRELEASE 부분에 상황에 맞게 수정해준다 ex) centos/7/ 2. nginx 설치# yum -y install nginx3. 방화벽 설정# firewall-cmd --permanent --zone=public --add-service=http# firewall-cmd --permanent --zone=public --add-service=https# firewall-cmd --reload 4. nginx 실행 및 부팅시 자.. 2019. 10. 22. Mysql 시간동기화 설정 - DB의 Timezone 설정 확인 설정이 안되있으면 값이 '0' 으로 표시됨mysql> select count(*) from mysql.time_zone; - Timezone 설정을 위해 프롬프트에서 해당 명령어 입력# mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql - 다시 DB접속 후 Timezone 확인 기본 설정은 'SYSTEM'으로 표시된다mysql> SELECT @@global.time_zone, @@session.time_zone; - Timezone seoul 기준으로 변경mysql> SET GLOBAL time_zone='Asia/Seoul'; mysql> SET time_zone = 'Asia/Seoul'; - 변.. 2019. 10. 17. centos7 kst로 변경 # date Sun Mar 19 06:58:16 UTC 2017 Timezone 변경을 위해 서울의 timezone 정보가 담긴 파일을 찾아 서버 시간으로 연결해주자 아시아 Timezone 정보가 들어있는 폴더를 조회해보면 Seoul 파일이 존재한다 # ls /usr/share/zoneinfo/Asia ... Seoul ... 기존에 사용중인 locatime 변경 및 서울시간 심볼릭 링크설정 # mv /etc/localtime /etc/localtime_org # ln -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime # date Sun Mar 19 16:14:59 KST 2017 출처: https://tez.kr/163 [Tez's Programming & IT] 2019. 9. 11. 이전 1 ··· 6 7 8 9 10 11 12 ··· 28 다음 반응형