mysql이 정지됬습니다..ㅠ.ㅠ
본문
로컬환경에서 비트나미설치후 가상도메인으로 3개정도 설정한후에 Mysql만
재기동이 안되네요..ㅠ.ㅠ
로그를 봐도 잘모르겠습니다...........ㅠ.ㅠ
어디를 수정해야할지 혹시 같은경우 겪으신분계신가요?
2019-01-04T04:51:27.516808Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 8952ms. The settings might not be optimal. (flushed=0 and evicted=0, during the time.)
2019-01-04T09:42:07.077755Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-01-04T09:42:07.077847Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2019-01-04T09:42:07.078125Z 0 [Note] C:\Bitnami\mysql\bin\mysqld.exe (mysqld 5.7.23) starting as process 14420 ...
2019-01-04T09:42:07.099990Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-01-04T09:42:07.100609Z 0 [Note] InnoDB: Uses event mutexes
2019-01-04T09:42:07.100965Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2019-01-04T09:42:07.101488Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2019-01-04T09:42:07.102228Z 0 [Note] InnoDB: Number of pools: 1
2019-01-04T09:42:07.102706Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2019-01-04T09:42:07.105765Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-01-04T09:42:07.112294Z 0 [Note] InnoDB: Completed initialization of buffer pool
2019-01-04T09:42:07.142971Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2019-01-04T09:42:07.143593Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2019-01-04T09:42:07.144121Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2019-01-04T09:42:07.359321Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2019-01-04T09:42:07.359894Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2019-01-04T09:42:07.360391Z 0 [ERROR] Failed to initialize builtin plugins.
2019-01-04T09:42:07.360788Z 0 [ERROR] Aborting
답변 3
InnoDB 에 데이타가 중요한게 있는게 아니라면
MyIsam 으로 사용하시는게 편하실겁니다.
InnoDB가 트랜젝션처리도 되서 좋긴하지만
그누보드에서는 InnoDB까지 사용할일이 거의 없다고 보시는게 낫고,
향후 백업정책도 MyIsam이 간편합니다.
위 문제의 답변은
패킷설정 오류인것으로 보여집니다.
https://dba.stackexchange.com/questions/6134/fixing-mysql-errors-recorded-in-error-logs
와
https://bugs.mysql.com/bug.php?id=62563
를 참고하세요 크롬의 자동번역을 하시면 대략 참고되실겁니다.
1. 용량확인해보세요 용량이 부족해서 그럴수 있음
2. 권한이 있는지 이미 다른곳에서 사용되어 지고있는지도 확인해보세요
(비트나미에도 mysql이 있는것 같네요)
오토셋 경우 아래 방법으로 해결한 적 있는데,
비트나미는 어떤지 잘 모르겠네요.
https://lee-yunseok.github.io/info/software/autoset-mysql-server-service-error/