当前位置:论坛首页 > Windows面板 > 求助

【待反馈】数据库管理 sqlserver 获取数据库失败

发表在 Windows面板2023-8-30 18:14 [复制链接] 2 1770

本帖最后由 堡塔运维香菜卷 于 2023-8-30 20:05 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

7.9.0
系统版本:

windows 2019 标准版
问题描述:

安装sqlserver 2008 R2 developer 版后, 通过数据库管理,没办法获取到sqlserver的数据库信息,点击“从服务器获取”后报错


Traceback (most recent call last): File "D:\BtSoft\panel/class\flask_sockets.py", line 30, in __call__ handler, values = adapter.match() File "C:\Program Files\python\lib\site-packages\werkzeug\routing.py", line 1945, in match raise NotFound() werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "pymssql.pyx", line 636, in pymssql.connect File "_mssql.pyx", line 1957, in _mssql.connect File "_mssql.pyx", line 676, in _mssql.MSSQLConnection.__init__ File "_mssql.pyx", line 1683, in _mssql.maybe_raise_MSSQLDatabaseException _mssql.MSSQLDatabaseException: (20009, b'DB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist (127.0.0.1:1433)\nNet-Lib error during Unknown error (10061)\nDB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist (127.0.0.1:1433)\nNet-Lib error during Unknown error (10061)\n') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\BtSoft\panel/class\panelMssql.py", line 61, in __Conn self.__DB_CONN = pymssql.connect(server = self.__DB_HOST, port= str(self.__DB_PORT),login_timeout = 30,timeout = 0,autocommit = True) File "pymssql.pyx", line 642, in pymssql.connect pymssql.OperationalError: (20009, b'DB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist (127.0.0.1:1433)\nNet-Lib error during Unknown error (10061)\nDB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist (127.0.0.1:1433)\nNet-Lib error during Unknown error (10061)\n')

相关截图(日志、错误): 下载.png

使用道具 举报 只看该作者 回复
发表于 2023-8-30 20:05:37 | 显示全部楼层
您好,请问您的sqlserver是通过软件商店安装的吗?如果是的话,可以看下是否有正常启动或者正常安装成功呢?
使用道具 举报 回复 支持 反对
发表于 2024-3-12 10:12:18 | 显示全部楼层
问题解决了吗楼主
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表