Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新版本报错 #26

Open
ning0818 opened this issue Apr 10, 2024 · 1 comment
Open

最新版本报错 #26

ning0818 opened this issue Apr 10, 2024 · 1 comment

Comments

@ning0818
Copy link

宝塔网站日志

>getPk('idcsmart_plugin'" while reading response header from upstream, client: xxxxxxxx, server: xxxxxxxxxx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-72.sock:", host: "xxxxxxxxxxx"
2024/04/10 10:11:25 [error] 6682#0: *5646 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught think\db\exception\PDOException: SQLSTATE[HY000] [2002] Connection refused in /www/wwwroot/cloud/vendor/topthink/think-orm/src/db/PDOConnection.php:796
Stack trace:
#0 /www/wwwroot/cloud/vendor/topthink/think-orm/src/db/connector/Mysql.php(66): think\db\PDOConnection->getPDOStatement('SHOW FULL COLUM...')
#1 /www/wwwroot/cloud/vendor/topthink/think-orm/src/db/PDOConnection.php(422): think\db\connector\Mysql->getFields('`idcsmart_plugi...')
#2 /www/wwwroot/cloud/vendor/topthink/think-orm/src/db/PDOConnection.php(362): think\db\PDOConnection->getTableFieldsInfo('idcsmart_plugin')
#3 /www/wwwroot/cloud/vendor/topthink/think-orm/src/db/PDOConnection.php(409): think\db\PDOConnection->getSchemaInfo('idcsmart_plugin')
#4 /www/wwwroot/cloud/vendor/topthink/think-orm/src/db/PDOConnection.php(459): think\db\PDOConnection->getTableInfo('idcsmart_plugin', 'pk')
#5 /www/wwwroot/cloud/vendor/topthink/think-orm/src/db/Query.php(291): think\db\PDOConnection->getPk('idcsmart_plugin'" while reading response header from upstream, client: xxxxxxxxx, server: xxxxxxxxx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-72.sock:", host: "xxxxxxxx"

@wyh-luoyu
Copy link
Contributor

这个是跑定时任务还是哪点报的错,看你这个是数据库连接错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants