>> Edit article
이름
제목
패스워드
검색해서 보니 다음과 같이 하라는 군요. 그래서 했습니다. : ./safe_mysqld & : 바로 종료될경우 : ./safe_mysqld -u root & : 이렇게 실행하시는 분들이 계신가본데, 위험한 방법이라고 합니다. : : 계정및권한 문제이니 아래 내용을 참고하시면 안전하게 해결될것입니다. : mysql install문서에서 참고한 것입니다. : : shell> groupadd mysql : shell> useradd -g mysql mysql : shell> chown -R root /usr/local/mysql : shell> chown -R mysql /usr/local/mysql/var (데이터 저장 경로) : shell> chgrp -R mysql /usr/local/mysql : shell> chown -R root /usr/local/mysql/bin : shell> bin/safe_mysqld --user=mysql & : : -- : ... mysql 계정하나 만들고, chown -R mysql /usr/local/mysql/var 만 하면 될거 같은데요. var 안에 도메인.pid 를 쓰지 못해서(권한때문에) 생기는 에러 아닌가요? 마지막에 safe_mysql --user=mysql & 는 그냥 safe_mysql 만 해도 될거 같고(이게 원인이었으니깐) -- 마젤란 근데 이렇게 에러가 납니다. 꼭 좀봐주세요. 벌써 이걸로 몇일을 뜬눈으로 지새고 있답니다. The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/safe_mysqld. [1]+ Exit 1 ./safe_mysqld 꼭좀부탁드립니다. 고수님들. ㅠㅠ
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved