질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

mysql 설치후 실행하면 데몬이 떠따가 바로 죽어버립니다.

작성자 정보

  • 박선용 작성
  • 작성일

컨텐츠 정보

본문

mysqld_safe --user=mysql &

실행하면 시작되자마자 바로 죽어버립니다..

권한 문제는 다 지정을 해놨거든요..

/usr/local/mysql/data <-- mysql.mysql 로 되어 있습니다 그 이하 모든 파일들도 그렇구요..

나머지 권한 설정도 다 제대로 해준거 같은데.. 계속 시작하자마자 죽어버리네요...

에러 로그를 보면

mysqld started

error : auto-extending data file ./ibdata1 is of a different size

0 page (rounded down to MB) than specified in the .cnf file:

initial 640 pages, max 0 (relevant if non-zero) pages!

could not open or create data files.

if you tried to add new data files, and it failed here,

you should now edit innodb_data_file_path in my.cnf back

to what it was, and remove the new ibdata files InnoDB created

in this failed attempt. InnoDB only wrote those files full of

zeros, but did not yet use then in any way. But be carefil : do not

remove old data files which contain your precious data!

can't init databases

aborting

 

InnoDB: warning : shutying down a not properly started

InnoDB or created database!

/usr/local/mysql/libexex/mysqld:Shutdown Complete

mysqld ended

이리저리 뒤저봣는데 저하고 같은 오류로그로 질문을 올리신 분이 안계시더라구요...

왜 이런 현상이 일어나는지.. 해결책 좀 가르쳐 주십시요..

부탁드립니다.

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,076 명
  • 현재 강좌수 :  36,001 개
  • 현재 접속자 :  527 명