-
Notifications
You must be signed in to change notification settings - Fork 38
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
安装报错 #33
Comments
nginx-1 | 2024/11/12 14:40:05 [notice] 1#1: start worker process 35 |
没有config.php文件 |
我将public/install/config.php 复制到 html下吗 就出现了 php 连接不上 db 的报错 |
2024-11-12 14:37:00 TASK ERROR [执行报错 php [/usr/share/nginx/html/cron/task.php] exit status 255]
2024-11-12 14:37:00 TASK ERROR [异常结束执行 php [/usr/share/nginx/html/cron/task.php] PHP Fatal error: Uncaught think\db\exception\PDOException: SQLSTATE[HY000] [2019] Unknown character set in /usr/share/nginx/html/vendor/topthink/think-orm/src/db/PDOConnection.php:796
Stack trace:
#0 /usr/share/nginx/html/vendor/topthink/think-orm/src/db/connector/Mysql.php(66): think\db\PDOConnection->getPDOStatement('SHOW FULL COLUM...')
#1 /usr/share/nginx/html/vendor/topthink/think-orm/src/db/PDOConnection.php(422): think\db\connector\Mysql->getFields('`idcsmart_plugi...')
#2 /usr/share/nginx/html/vendor/topthink/think-orm/src/db/PDOConnection.php(362): think\db\PDOConnection->getTableFieldsInfo('idcsmart_plugin')
#3 /usr/share/nginx/html/vendor/topthink/think-orm/src/db/PDOConnection.php(409): think\db\PDOConnection->getSchemaInfo('idcsmart_plugin')
#4 /usr/share/nginx/html/vendor/topthink/think-orm/src/db/PDOConnection.php(459): think\db\PDOConnection->getTableInfo('idcsmart_plugin', 'pk')
#5 /usr/share/nginx/html/vendor/topthink/think-orm/src/db/Query.php(291): think\db\PDOConnection->getPk('idcsmart_plugin')
#6 /usr/s in /usr/share/nginx/html/vendor/topthink/think-orm/src/db/PDOConnection.php on line 796
The text was updated successfully, but these errors were encountered: