全部
常见问题
产品动态
精选推荐
功能建议

分析中 已回复 待规划 {{opt.name}}
分析中 已回复 待规划
根目录env文件配置不生效,登录后台

管理 管理 编辑 删除

安装好, swoole重启过了, 根目录env也配置了,  怎么弄都不生效    还在用root不带密码访问,


哪里那个操作遗漏了呢?


[2026-06-16T17:17:58+08:00][error] [10501]SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

#0 /www/wwwroot/backend/vendor/topthink/think-orm/src/db/connector/Mysql.php(66): think\db\PDOConnection->getPDOStatement('SHOW FULL COLUM...')

#1 /www/wwwroot/backend/vendor/topthink/think-orm/src/db/PDOConnection.php(422): think\db\connector\Mysql->getFields('`system_config_...')

#2 /www/wwwroot/backend/vendor/topthink/think-orm/src/db/PDOConnection.php(362): think\db\PDOConnection->getTableFieldsInfo('system_config_v...')

#3 /www/wwwroot/backend/vendor/topthink/think-orm/src/db/PDOConnection.php(409): think\db\PDOConnection->getSchemaInfo('system_config_v...')

#4 /www/wwwroot/backend/vendor/topthink/think-orm/src/db/PDOConnection.php(493): think\db\PDOConnection->getTableInfo('system_config_v...', 'type')

#5 /www/wwwroot/backend/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php(58): think\db\PDOConnection->getFieldsType('system_config_v...')

#6 /www/wwwroot/backend/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php(69): think\db\Query->getFieldsType()

#7 [internal function]: think\db\Query->getFieldType('create_time')

#8 /www/wwwroot/backend/vendor/topthink/think-orm/src/Model.php(1049): call_user_func_array(Array, Array)

#9 /www/wwwroot/backend/vendor/topthink/think-orm/src/model/concern/TimeStamp.php(73): think\Model->__call('getFieldType', Array)

#10 /www/wwwroot/backend/vendor/topthink/think-orm/src/model/concern/TimeStamp.php(54): think\Model->checkTimeFieldType(true)

#11 /www/wwwroot/backend/vendor/topthink/framework/src/think/service/ModelService.php(35): think\Model->isAutoWriteTimestamp(true)

#12 [internal function]: think\service\ModelService->think\service\{closure}(Object(app\common\model\system\config\SystemConfigValue))

#13 /www/wwwroot/backend/vendor/topthink/think-orm/src/Model.php(242): call_user_func(Object(Closure), Object(app\common\model\system\config\SystemConfigValue))

#14 /www/wwwroot/backend/app/common/model/BaseModel.php(52): think\Model->__construct(Array)

#15 /www/wwwroot/backend/app/common/model/BaseModel.php(60): app\common\model\BaseModel->__construct()

#16 /www/wwwroot/backend/app/common/dao/BaseDao.php(81): app\common\model\BaseModel::getInstance()

#17 [internal function]: app\common\dao\BaseDao->query(Array)

#18 /www/wwwroot/backend/app/common/repositories/BaseRepository.php(33): call_user_func_array(Array, Array)

#19 /www/wwwroot/backend/app/common/repositories/system/config/ConfigValueRepository.php(228): app\common\repositories\BaseRepository->__call('query', Array)

#20 /www/wwwroot/backend/app/common/repositories/system/config/ConfigValueRepository.php(308): app\common\repositories\system\config\ConfigValueRepository->syncConfig()

#21 /www/wwwroot/backend/app/common.php(470): app\common\repositories\system\config\ConfigValueRepository->getConfig(0, 'site_open')

#22 /www/wwwroot/backend/app/common.php(401): merchantConfig(0, 'site_open')

#23 /www/wwwroot/backend/app/common/middleware/CheckSiteOpenMiddleware.php(26): systemConfig('site_open')

#24 [internal function]: app\common\middleware\CheckSiteOpenMiddleware->handle(Object(app\Request), Object(Closure))

#25 /www/wwwroot/backend/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func(Array, Object(app\Request), Object(Closure))

#26 /www/wwwroot/backend/vendor/topthink/framework/src/think/Pipeline.php(85): think\Middleware->think\{closure}(Object(app\Request), Object(Closure))

#27 /www/wwwroot/backend/app/common/middleware/BaseMiddleware.php(50): think\Pipeline->think\{closure}(Object(app\Request))

#28 [internal function]: app\common\middleware\BaseMiddleware->handle(Object(app\Request), Object(Closure))

#29 /www/wwwroot/backend/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func(Array, Object(app\Request), Object(Closure))

#30 /www/wwwroot/backend/vendor/topthink/framework/src/think/Pipeline.php(85): think\Middleware->think\{closure}(Object(app\Request), Object(Closure))

#31 /www/wwwroot/backend/app/common/middleware/BaseMiddleware.php(50): think\Pipeline->think\{closure}(Object(app\Request))

#32 [internal function]: app\common\middleware\BaseMiddleware->handle(Object(app\Request), Object(Closure))

#33 /www/wwwroot/backend/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func(Array, Object(app\Request), Object(Closure))

#34 /www/wwwroot/backend/vendor/topthink/framework/src/think/Pipeline.php(85): think\Middleware->think\{closure}(Object(app\Request), Object(Closure))

#35 /www/wwwroot/backend/vendor/topthink/framework/src/think/Pipeline.php(66): think\Pipeline->think\{closure}(Object(app\Request))

#36 /www/wwwroot/backend/vendor/topthink/framework/src/think/Route.php(773): think\Pipeline->then(Object(Closure))

#37 /www/wwwroot/backend/vendor/topthink/framework/src/think/Http.php(216): think\Route->dispatch(Object(app\Request), Object(Closure))

#38 /www/wwwroot/backend/vendor/topthink/think-swoole/src/Http.php(55): think\Http->dispatchToRoute(Object(app\Request))

#39 /www/wwwroot/backend/vendor/topthink/framework/src/think/Http.php(206): think\swoole\Http->dispatchToRoute(Object(app\Request))

#40 /www/wwwroot/backend/vendor/topthink/framework/src/think/Pipeline.php(59): think\Http->think\{closure}(Object(app\Request))

#41 /www/wwwroot/backend/vendor/topthink/think-swoole/src/middleware/ResetVarDumper.php(28): think\Pipeline->think\{closure}(Object(app\Request))

#42 [internal function]: think\swoole\middleware\ResetVarDumper->handle(Object(app\Request), Object(Closure))

#43 /www/wwwroot/backend/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func(Array, Object(app\Request), Object(Closure))

#44 /www/wwwroot/backend/vendor/topthink/framework/src/think/Pipeline.php(85): think\Middleware->think\{closure}(Object(app\Request), Object(Closure))

#45 /www/wwwroot/backend/vendor/topthink/think-trace/src/TraceDebug.php(71): think\Pipeline->think\{closure}(Object(app\Request))

#46 [internal function]: think\trace\TraceDebug->handle(Object(app\Request), Object(Closure))

#47 /www/wwwroot/backend/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func(Array, Object(app\Request), Object(Closure))

#48 /www/wwwroot/backend/vendor/topthink/framework/src/think/Pipeline.php(85): think\Middleware->think\{closure}(Object(app\Request), Object(Closure))

#49 /www/wwwroot/backend/vendor/topthink/framework/src/think/Pipeline.php(66): think\Pipeline->think\{closure}(Object(app\Request))

#50 /www/wwwroot/backend/vendor/topthink/framework/src/think/Http.php(207): think\Pipeline->then(Object(Closure))

#51 /www/wwwroot/backend/vendor/topthink/framework/src/think/Http.php(170): think\Http->runWithRequest(Object(app\Request))

#52 /www/wwwroot/backend/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php(131): think\Http->run(Object(app\Request))

#53 /www/wwwroot/backend/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php(115): think\swoole\Manager->handleRequest(Object(think\swoole\Http), Object(app\Request))

#54 /www/wwwroot/backend/vendor/topthink/framework/src/think/Container.php(293): think\swoole\Manager->think\swoole\concerns\{closure}(Object(think\swoole\Http), Object(think\Event), Object(think\swoole\App), Object(think\Middleware))

#55 /www/wwwroot/backend/vendor/topthink/framework/src/think/Container.php(357): think\Container->invokeFunction(Object(Closure), Array)

#56 /www/wwwroot/backend/vendor/topthink/think-swoole/src/Sandbox.php(86): think\Container->invoke(Object(Closure), Array)

#57 /www/wwwroot/backend/vendor/topthink/think-swoole/src/concerns/WithApplication.php(116): think\swoole\Sandbox->run(Object(Closure), NULL, false)

#58 /www/wwwroot/backend/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php(123): think\swoole\Manager->runInSandbox(Object(Closure))

#59 {main}


【产品名称】:多商户系统 (PHP)

【产品版本】:例:v3.2

【部署方式】:linux/ubuntu

【部署环境】:线上环境

【php版本】:7.3

【Mysql版本】:5.7

【使用终端】: / 后台


{{voteData.voteSum}} 人已参与
支持
反对
请登录后查看

世界方块 最后编辑于2026-06-16 17:40:04

快捷回复
回复
回复
回复({{post_count}}) {{!is_user ? '我的回复' :'全部回复'}}
排序 默认正序 回复倒序 点赞倒序

{{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level || item.bbs_level }}

作者 管理员 企业

{{item.floor}}# 同步到gitee 已同步到gitee {{item.is_suggest == 1? '取消推荐': '推荐'}}
{{item.is_suggest == 1? '取消推荐': '推荐'}} 【已收集】
{{item.floor}}# 沙发 板凳 地板 {{item.floor}}# 【已收集】
{{item.user_info.title || '暂无简介'}}
附件

{{itemf.name}}

{{item.created_at}}  {{item.ip_address}}
打赏
已打赏¥{{item.reward_price}}
{{item.like_count}}
分享
{{item.showReply ? '取消回复' : '回复'}}
删除
回复
回复

{{itemc.user_info.nickname}}

{{itemc.user_name}}

回复 {{itemc.comment_user_info.nickname}}

附件

{{itemf.name}}

{{itemc.created_at}}
打赏
已打赏¥{{itemc.reward_price}}
{{itemc.like_count}}
{{itemc.showReply ? '取消回复' : '回复'}}
删除
回复
回复
收起 展开更多
查看更多
打赏
已打赏¥{{reward_price}}
19
{{like_count}}
{{collect_count}}
添加回复 ({{post_count}})

相关推荐

快速安全登录

使用微信扫码登录
回复
回复
问题:
问题自动获取的帖子内容,不准确时需要手动修改. [获取答案]
答案:
提交
bug 需求 取 消 确 定
打赏金额
当前余额:¥{{rewardUserInfo.reward_price}}
{{item.price}}元
请输入 0.1-{{reward_max_price}} 范围内的数值
打赏成功
¥{{price}}
完成 确认打赏

微信登录/注册

切换手机号登录

{{ bind_phone ? '绑定手机' : '手机登录'}}

{{codeText}}
切换微信登录/注册
暂不绑定
CRMEB客服
CRMEB咨询热线 400-8888-794

扫码领取产品资料

功能清单
思维导图
安装教程
CRMEB开源商城下载 源码下载 CRMEB帮助文档 帮助文档
返回顶部 返回顶部
CRMEB客服