mysql 설치후에..

54029의 이미지

mysql_instarll_db까지 했습니다

그후에 루뜨 암호를 정해주라고 해서

#./mysqladmin -u root password ‘ 새로운 password ’

이렇게 적어주면

./mysqladmin: connect to server at 'localhost; failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'

Check that mysqld is running and that the socket: '/tmp/mysql.sock' existsl!

이라는 에러메세지가 뜨는데요

이거 어떻게 해결해야 하나요 T_T

도움좀 주세요 (__)

박영선의 이미지

mysqld 가 안떠서그래요..

ps -ax | grep mysql

하면 대몬이 한두개 떠야하거든요..

./bin/safe_mysqld& 하시면 대몬이 뜰겁니다.

^^;;

54029의 이미지

bin 폴더 안에서

./mysqld_safe&라고 했는데요 (파일명이 거꾸로 돼있더라구요)

그러고 나면

Starting mysqld daemon with databases from /usr/local/mysql/data

날짜 시간이 나오고 mysqld ended라고 뜨네요

그리고 확인해보면 데몬은 떠 있지 않구요

이사태를 어찌해야할지..

* 참고로 vmware 안에 레뎃 9.0입니다 ㅠ_ㅠ

(__)그럼꾸벅

초보어흐흑 T-T

박영선의 이미지

./bin/safe_mysqld 라는 스크립트가있을텐데요...

아니면

./support-files/mysql.server start

로 실행해보시던가요...

./data/*err 파일도 참조하시구요.
/var/log/messages 에도 메시지가 남을수있습니다.

^^;;