내가 서버는 다음과 같은 오류로 응답mysql 서버를 다시 시작하는 방법은 무엇입니까?
[email protected]:/$ sudo opt/bitnami/ctlscript.sh start server
WWarning: World-writable config file '/opt/bitnami/mysql/my.cnf' is ignored
Warning: World-writable config file '/opt/bitnami/mysql/my.cnf' is ignored
121120 12:30:18 mysqld_safe Logging to '/opt/bitnami/mysql/data/mysqld.log'.
121120 12:30:18 mysqld_safe Starting mysqld daemon with databases from /opt/bitnami/mysql/data
121120 12:30:20 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/ip-10-136-14-170.pid ended
/opt/bitnami/mysql/scripts/ctl.sh : mysql could not be started
MySQL 서버를 다시 시작할 때마다 :
(2002, "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)")
나는이 문제를 해결해야 할 일을 가르쳐주세요.
이것은 serverfault에 속한 것처럼 보입니다 –
mysql이 서비스로 설치되면 (대부분의 경우)'service mysqld restart' 또는'/etc/init.d/mysqld restart'를 할 수 있습니다. 나는 아마존/AWS 또는 mysql을 - 파이썬 또는 bitnami의 아무것도 몰라,하지만 당신은 시도 할 수 있습니다. – Martin
정말 프로그래밍 문제가 아니라 stackoverflow에 주제 떨어져. 'chmod 0644 /opt/bitnami/mysql/my.cnf'를 입력하고 다시 시작하십시오. 도움이되지 않으면 -> serverfault – Gryphius