Comments (4)
Looks like a pymssql issue. Are you using the latest version of pymssql? Some segfault issues have been fixed there.
from dbutils.
The pymssql is the latest version, and I just use pymssql to connect, when the server failover, it will raise an exception.
from dbutils.
Generally, DBUtils has been mainly tested with Postgres. But it should work with SQL Server as well since DBUtils is high-level Python code using the DB-API 2 interface. Segfaults usually indicate a problem of the lower level interface like pymssql using C (Cython) extensions - sometimes long-living connections and reuse of connections from pools are not handled properly there.
So please report the issue to the pymssql maintainers. You will need to provide more details, like exact operating system and Python version. Could be a bug that has not yet been discovered or this issue here which looks similar and still exists in the latest version: pymssql/pymssql#406
from dbutils.
Thanks, I understand the relationship between dbutils and pymyssql.
from dbutils.
Related Issues (20)
- Please update pypi release HOT 2
- Thread.isAlive is deprecated
- Request to add import module name compatible with 1.x version in v2.x version HOT 3
- [RFE] Can wheels for DBUtils be placed up on pypi? HOT 2
- Use GitHub actions for CI and PyPI releases HOT 1
- Is there a way to set CLIENT_MULTI_STATEMENTS with PooledDB using the PyMySQL driver? HOT 6
- PooledDB connection does not work with `with` statement HOT 3
- TCP connection disconnected problem HOT 1
- Connection won't reconnect if PostgreSQL server restarted HOT 2
- Is it possible to connect using unix:socket HOT 1
- SteadyDBCursor is not iterable HOT 3
- Lots of errors when using PooledDB together with uWSGI, Flask and pymysql HOT 14
- PooledDB setsession argument does not work on new connection. HOT 3
- Using use_pure = False causes error during mysql connection creation HOT 6
- Is there key difference with "databases" package? HOT 1
- Unable to initialize MIPool due to some issue HOT 2
- Customized connection parametrization HOT 6
- Use pyproject.toml instead of setup.py
- Are Python boolean traps worth fixing? HOT 1
- Question: Role of mincached? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbutils.