Laravel的工匠命令接管MySQL连接

时间:2015-12-27 12:35:38

标签: php laravel laravel-5 laravel-5.1 digital-ocean

在Laravel 5.1中,当我们监听队列时,所有其他MySQL操作都失败了,我收到以下错误

Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' 

我检查了MySQL状态

Uptime: 629  Threads: 1  Questions: 166  Slow queries: 0  Opens: 694  Flush tables: 1  Open tables: 400  Queries per second avg: 0.263

服务器由DigitalOcean托管,规格为512MB / 1CPU。

问题是什么?

干杯

0 个答案:

没有答案