컴퓨터 이야기

mysql 삽질-0-

CatchMeIfYouCan 2006. 9. 4. 05:11
다른 작업을 하다가 /tmp 디렉토리를 삭제해버려서-0-
루트권한으로 그냥 만들어놨는데..권한 변경을 할러다...
별일 있겠나..싶어-0-..그냥 놔뒀더니;;
재부팅후 mysql이 말성-0-;;; 물론;; 바로 알아차리지 못했지..젝.-_-;;
이런 로그가 나옴..

root@thedino:/var# /etc/init.d/mysql start
Starting MySQL database server: mysqld...failed.
       Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!


한참 삽질 하다가.......

문득 tmp가 생각나서 쓰기권한을 줬더니 바로 해결이네-_-;;

tmp 디렉토리 함부로 지우지 말자-0-;;;

ㅋㅋㅋㅋ