에러메세지 자세히 보세요. 어디서 실행하라고 나왔잖아요.
: : : [root@mail bin]# ./safe_mysqld --skip-grant-talbes&
: : : [1] 1205
: : : [root@mail bin]# ./safe_mysqld: my_print_defaults: command not found
: : : The file /usr/local/libexec/mysqld doesn't exist or is not executable
: : : Please do a cd to the mysql installation directory and restart
제발 mysql 설치디렉터리로 이동한다음 리스타트하세요.
: : : this script from there as follows:
아래 보이는 것처럼 스크립트를
: : : ./bin/safe_mysqld. <-------- 요거
/usr/local/mysql 디렉터리까지만 이동합니다.
그럼다음
shell>./bin/safe-mysqld --skip-grant &
하시면 됩니다.
그리고 Mysql 공부 제대로 할려면 아래 문서를 읽고 공부하세요.
원문이지만 진짜 '바이블'입니다. mysql ab 에서 직접 발행한 문서임.
http://www.mysql.com/documentation/mysql/index.html : root구요... mysql bin 디렉토리 에서 했는 데 안되
네요...ㅠㅠ :
:
:
: : 그명령은 mysql이 설치된 디렉토리에 가서 해야하는데
: : 어디서 실행하셨나요?
: : 보통 /usr/local/mysql/bin/ 여기에 설치되어 있을꺼에요.
: : 물론 root여야하구요.
: :
: :
: : : killall mysqld 해서 데몬을 죽인후에
: : :
: : : ./safe_mysqld --skip-grant-tables&
: : : 했는데
: : :
: : :
: : : [root@mail bin]# ./safe_mysqld --skip-grant-talbes&
: : : [1] 1205
: : : [root@mail bin]# ./safe_mysqld: my_print_defaults: command not found
: : : The file /usr/local/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 --skip-grant-talbes
: : [root@mail bin]#
: : :
: : :
: : : 에러가 나네요....
: : :
: : :
: : : myslq 구조를 모르니 함부로 다시 설치할 수도 없답니다...
: : :
: : : 도와주세요...
: : :
: : : : killall mysqld 하시구
: : : :
: : : : ./safe_mysqld --skip-grant-tables&
: : : :
: : : : mysql -u root mysql
: : : :
: : : : 패스update 하심되겠네요.
: : : :
: : :
: : : --
: : : anti-cracking -.-;
:
: --
: anti-cracking -.-;--이 곳에 서명을 적어주십시오.
사용자 : 왜 그러는데~?
sshd : 내가 뭘 어쨌는데~?
사용자 & sshd : debug가 필요해~~