본문 바로가기

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.. 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 | +------------------+-------------------------------------+ 2 rows in set (0.00 sec) 2. general_log 상태값 변경 mysql> set globa.. 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.