Fatal error: Uncaught think\db\exception\PDOException: SQLSTATE[HY000] [2002] Connection refused in /www/wwwroot/6666/vendor/topthink/think-orm/src/db/PDOConnection.php:768
Stack trace:
#0 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/connector/Mysql.php(66): think\db\PDOConnection->getPDOStatement()
#1 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/PDOConnection.php(396): think\db\connector\Mysql->getFields()
#2 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/PDOConnection.php(336): think\db\PDOConnection->getTableFieldsInfo()
#3 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/PDOConnection.php(383): think\db\PDOConnection->getSchemaInfo()
#4 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/PDOConnection.php(467): think\db\PDOConnection->getTableInfo()
#5 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php(58): think\db\PDOConnection->getFieldsType()
#6 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php(81): think\db\Query->getFieldsType()
#7 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/Builder.php(135): think\db\Query->getFieldsBindType()
#8 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/builder/Mysql.php(206): think\db\Builder->parseData()
#9 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/PDOConnection.php(1017): think\db\builder\Mysql->update()
#10 /www/wwwroot/6666/vendor/topthink/think-orm/src/db/BaseQuery.php(1032): think\db\PDOConnection->update()
#11 /www/wwwroot/6666/source/index/Base.php(34): think\db\BaseQuery->update()
#12 /www/wwwroot/6666/source/system/function_common.php(1209): app\index\Base->initialize()
#13 /www/wwwroot/6666/index.php(10): loadClass()
#14 {main}
thrown in /www/wwwroot/6666/vendor/topthink/think-orm/src/db/PDOConnection.php on line 768