반응형 Mysql32 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. 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. mysql 계정 권한설정 (all 제외) grant 부여할권한 on DB명.* to 유저명@허용할IP identified by '패스워드';ex) grant select, delete, update, insert on DB명.* to 유저명@허용할IP identified by '패스워드'; 유저 권한 확인show grants for '유저명'@'허용한IP'; 2019. 8. 23. db 유저추가 및 권한설정 유저추가> create user '사용자'@'localhost' identified by '비밀번호'; 권한설정> grant all privileges on *.* to '사용자'@'localhost'; 특정DB> grant all privileges on DB이름.* to '사용자'@'localhost'; 2019. 8. 21. 이전 1 2 3 4 ··· 6 다음 반응형