その後、私はmysqlを再インストールしましたが、まだ持っています:Can't connect to Error: local MySQL server through socket'/tmp/mysql.sock'(2)
。私は誤ってMySQLソケットファイル( '/tmp/mysql.sock')を永久に削除しましたが、どうすれば修正できますか?
は、サーバを起動しようとしました:start mysql.server
、しかしだ:
ERROR! The server quit without updating PID file (/usr/local/var/mysql/appledeMacBook-Pro-6.local.pid).
を私が試した次の事でした:
mysqladmin -h 127.0.0.1 -u root -p shutdown
となった:
mysqladmin: connect to server at '127.0.0.1' failed
error: 'Can't connect to MySQL server on '127.0.0.1' (61)'
Check that mysqld is running on 127.0.0.1 and that the port is 3306.
You can check this by doing 'telnet 127.0.0.1 3306'
私はこのヒントに従っ(telnet 127.0.0.1 3306)、入手済み:
connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
どうすればこの問題を解決できますか?
この問題を解決する必要があります。 – Shravan40
私が再インストールした後に、*/.errがusr/local/var/mysqlにありませんでした。 – Danlang