mysql 에 접근이 안됩니다
글쓴이: muruu / 작성시간: 금, 2003/07/11 - 9:39오전
리눅스 초보자입니다.
그럭저럭 mysql 을 깔고 웹서버와 함께 쓰고 있었는데
갑작스럽게 아래와 같은 에러메세지만이 화면에 가득하네요.
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/gaius/public_html/lib/session.inc on line 128
Warning: Failed opening 'db_err.inc' for inclusion (include_path='') in /home/gaius/public_html/lib/session.inc on line 134
어찌해야할는지 막막해서 이렇게 질문드립니다.
질문도 초보라서 뻔한걸 물어보는 건 아닌지 걱정스럽네요.
그럼...
Forums:
혹시나...
이런 경우가 아닐지..
소유권 설정이 안되어 있을 경우도있습니다. 저도 소유권 설정이 안되있어서
비슷한 애러를 본적이 있었습니다.
mysql 이 정상적으로 설치가 되었다면 mysql그룹과 mysql유저가 생성됩니다.
확인해보시구요..
소유권 설정은 mysql이 설치된 디렉토리(보통 /usr/local/mysql)
에서 ls-l 명령으로 확인하실수 있구요..
소유권 설정은 해당 디렉토리에서
chown -R mysqlmysql .
하시면 될것 같습니다. 아니면 X윈도우 상에서 mysql디렉토리의 등록정보에서
간단히 소유권을 설정하실수도있습니다.
그럼 즐거운 하루 되세요..
댓글 달기