>> Edit article
이름
제목
패스워드
/etc/my.cnf 파일을 생성하시고요 거기다 아래의 내용을 넣으세요. [client] socket=/tmp/mysql.sock # 이거 적당히 수정하세요 [mysqld] socket=/tmp/mysql.sock # 위에것과 똑같이 하시면 됩니다. 그리고 데몬 실행할때 /usr/bin/safe_mysqld 로 실행하세요. 아니면 /etc/rc.d/init.d/mysql start 로 실행하시던지. rpm으로 설치했다면 /usr/bin 이 바이너리 적당되는곳이고요. 컴파일해서 설치했다면 /usr/local/bin 일겁니다. safe_mysqld는 거기 있습니다. socket 안쓰고 port로도 할수 있습니다. 그방법은 매뉴얼에.. : 소스바이너리를 설치하고 나서 데몬을 돌렸는데 이러한 메세지가 떠염 : : #safe_mysqld& : [1]4301 : #the file /usr/local/mysql/libexec/mysqld doesn't exist or is : not executable : please do a cd to the myql installation directory and restart this script from there as follows: : ./bin/safe_mysqld. : [1]+ Exit 1 ./safe_mysqld : : 이상한 점을 발견할 수가 없어서 그냥 mysql을 실행시켰읍니다. : #/usr/local/mysql/bin/mysql -u root -p pass mysql : erroe 2002:can't connect to local mysql server : through socker '/tmp/mysql.sock' (2) : : 이러한 메세지가 떠서 질문을 올립니다. : 답변부탁드립니다.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved