Jedesmal, wenn ich neu starten MySQL ServerWie Neustart mysql Server?
[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
Der Server antwortet mit dem folgenden Fehler:
(2002, "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)")
Bitte sagen Sie mir, was ich habe, dieses Problem zu tun beheben.
Dies scheint wie es gehört auf serverfault –
Wenn mysql als Dienst installiert ist (was die meiste Zeit ist) können Sie 'service mysqld restart' oder' /etc/init.d/mysqld restart'. Ich weiß nichts von Amazon/Aws oder Mysql-Python oder Bitnami, aber Sie können es versuchen. – Martin
nicht wirklich eine Programmierfrage, off topic auf stackoverflow. versuche 'chmod 0644 /opt/bitnami/mysql/my.cnf' und starte neu. wenn es nicht hilft -> serverfault – Gryphius