与python连接时出现MS SQL驱动程序错误

时间:2019-02-06 13:20:36

标签: python-3.x

我使用pycharm IDE安装了annaconda 3.7。安装了brew install --env msodbcsql17 mssql-tools并在连接到我的ms sql服务器时出现以下错误:

Setting Env Vars for TEST ENV Trying to connect to DB. Args: use_local=False, db_path=<path to db.sql> *** connected with Engine(mssql+pyodbc:<userid and pass>/test_db?driver=ODBC Driver 17 for SQL Server) DB Configured (but not yet connected).

libc ++ abi.dylib:以类型为std :: runtime_error:collat​​e_byname :: collat​​e_byname的未捕获异常终止,无法为UTF-8构造

以退出代码134(被信号6:SIGABRT中断)结束的过程

任何帮助将不胜感激

0 个答案:

没有答案