优乐 发表于 2023-7-20 14:48:22

【待反馈】sqlsever导入数据库报错

本帖最后由 堡塔运维香菜卷 于 2023-7-20 15:06 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:7.8.0
系统版本:Windows-2012R2-Datacenter
问题描述:sqlsever导入数据库报错
相关截图(日志、错误):
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 (10060)\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 (10060)\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 (10060)\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 (10060)\n')

香菜卷 发表于 2023-7-20 15:06:38

您好,请检查下您的sqlserver服务是否有正常运行,您可以尝试重启一下您的sqlserver服务然后再导入看看是否能正常导入呢?

优乐 发表于 2023-7-20 17:20:28

堡塔运维香菜卷 发表于 2023-7-20 15:06
您好,请检查下您的sqlserver服务是否有正常运行,您可以尝试重启一下您的sqlserver服务然后再导入看看是否 ...

正常,新建数据库都可以,就是无法导入文件
页: [1]
查看完整版本: 【待反馈】sqlsever导入数据库报错