nobugno 发表于 2023-10-13 18:35:58

“数据库”出错了,面板运行时发生错误!

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:宝塔Windows7.9.0
系统版本:windows2012R2
问题描述:机房更换了云服务器,IP未变化。登录宝塔管理面板后,在“数据库”处点击打开,提示一下错误
相关截图(日志、错误):出错了,面板运行时发生错误!PermissionError: 拒绝访问。: 'D:/BtSoft/phpmyadmin'
REQUEST_DATE: 2023-10-13 18:35:48 PAN_VERSION: 7.9.0OS_VERSION: Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6) REMOTE_ADDR: 222.208.154.56 REQUEST_URI: GET /database?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.289 Safari/537.36Traceback (most recent call last):File "C:\Program Files\python\lib\site-packages\flask\app.py", line 2447, in wsgi_app    response = self.full_dispatch_request()File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request    rv = self.handle_user_exception(e)File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1821, in handle_user_exception    reraise(exc_type, exc_value, tb)File "C:\Program Files\python\lib\site-packages\flask\_compat.py", line 39, in reraise    raise valueFile "C:\Program Files\python\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request    rv = self.dispatch_request()File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1936, in dispatch_request    return self.view_functions(**req.view_args)File "D:\BtSoft\panel\BTPanel\__init__.py", line 668, in database    pmd = get_phpmyadmin_dir();File "D:\BtSoft\panel\BTPanel\__init__.py", line 705, in get_phpmyadmin_dir    for filename in os.listdir(path):PermissionError: 拒绝访问。: 'D:/BtSoft/phpmyadmin'
页: [1]
查看完整版本: “数据库”出错了,面板运行时发生错误!