问题:Anemometer安装

PHP Fatal error:  Uncaught exception 'Exception' with message 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' in /var/www/html/anemometer/lib/AnemometerModel.php:282\nStack trace:\n#0 /var/www/html/anemometer/lib/Anemometer.php(65): AnemometerModel->connect_to_datasource()\n#1 /var/www/html/anemometer/index.php(36): Anemometer->__construct(Array)\n#2 {main}\n  thrown in /var/www/html/anemometer/lib/AnemometerModel.php on line 282

解决办法:

vim /var/www/html/anemometer/conf/datasource_localhost.inc.php

'Exception' with message 'Can't connect to local MySQL server through socket '/tmp/mysql.sock(2)

相关文章:

  • 2021-12-21
  • 2021-12-29
  • 2021-04-23
  • 2021-07-25
猜你喜欢
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案