[root@localhost bin]# ./mysqladmin -u root 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' exists!
[root@localhost bin]# mysql -uroot -p mysql
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
(2)
[root@localhost bin]# mysql -uroot -p root
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
(2)
자꾸 이렇게 나오거든요..-,.-
mysql을 다시 깔아봐도 그래요..
음..mysql을 싸그리 몽땅..지우는법은 머가있나요..?
그냥.. /usr/local/mysql디렉토리만 지워주면 되요?
아..mysql때문에 며칠 헤매고있다는...
소켓관련 질문은..여기도 꽤 있는데..
다 따라해보구..해도..
도저히 안되네요..ㅠ ㅠ
아..수정,추가 합니다;;
#rpm -gq|grep -i mysql
이 명령으로 해보니까.. mysql이 남아있네요;;
#rpm -qa | grep mysql
이걸로했을땐 분명 없다고 했었는데..
두 명령어 차이가 뭐죠..-_-??
여하튼..
남아있는거 두개 지우고..다시 깔아봐야겠네요..
스르륵..