티스토리 뷰

SW개발/Database

MySQL start job failed to start

개소왕 2018. 5. 10. 10:18

* 개요

sudo service mysql start  로 서비스 시작 시켰으나 오류 메시지 보이며 시작되지 않음.


start job failed to start

 

* 환경

Ubuntu 14.04

MySQL 5.5



* 해결안 1) 실패

- apt-get purge 로 삭제 후 다시 설치하는 것

- 데이터 파일 옮기거나 하지 않았는데 별 차이 없었음.

- 참고 : https://askubuntu.com/questions/392438/mysql-job-failed-to-start?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa





* 해결안 2) 성공

- 무엇이 잘못됐는지 로그 확인하기 위해 mysqld 실행

sudo mysqld


180510 10:06:18 [Note] mysqld (mysqld 5.5.60-0ubuntu0.14.04.1-log) starting as process 9301 ...

180510 10:06:18 [Note] Plugin 'FEDERATED' is disabled.

180510 10:06:18 InnoDB: The InnoDB memory heap is disabled

180510 10:06:18 InnoDB: Mutexes and rw_locks use GCC atomic builtins

180510 10:06:18 InnoDB: Compressed tables use zlib 1.2.8

180510 10:06:18 InnoDB: Using Linux native AIO

180510 10:06:18 InnoDB: Initializing buffer pool, size = 256.0M

180510 10:06:18 InnoDB: Completed initialization of buffer pool

180510 10:06:18 InnoDB: highest supported file format is Barracuda.

180510 10:06:18  InnoDB: Waiting for the background threads to start

180510 10:06:19 InnoDB: 5.5.60 started; log sequence number 1598425

180510 10:06:19 [ERROR] mysqld: unknown variable 'log_slow_verbosity=query_plan'

180510 10:06:19 [ERROR] Aborting


180510 10:06:19  InnoDB: Starting shutdown...

180510 10:06:20  InnoDB: Shutdown completed; log sequence number 1598425

180510 10:06:20 [Note] mysqld: Shutdown complete


- my.cnf 파일 고치는 과정에서 잘못된 변수 있었던 듯..


- sudo gedit /etc/mysql/my.cnf



- 오류 : Can't create test file /var/lib/mysql/udell-Inspiron-7559.lower-test

sudo  안 한것


공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/04   »
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
글 보관함