7,195 questions
2
votes
1
answer
88
views
GridDB Cloud Python client: How to handle connection timeout and auto-reconnect?
I’m using GridDB Cloud with the official Python client to insert real-time IoT data into a time-series container.
The script runs continuously, but after a few hours I get a connection timeout and ...
0
votes
1
answer
59
views
DB2/LUW How to Perform Cross-database Query Comparison without Federation?
I did some reading and then confirmed with our DBA's that our databases are not federated. So, I figured I could write a stored procedure to connect to the first database and store the query output ...
0
votes
1
answer
96
views
Why DBContecxt.Database.Exists() becomes extremely slow when data source (IP) is wrong, but still fast when other credentials incorrect? [duplicate]
I am using EF 6 DbContext.Database.Exists() method, i.e. its return value true/false, to detect if a given DB is available. If it is, I pull and process data, if not, I enter a message into the log ...
0
votes
0
answers
143
views
Connection Pooling Challenges with MongoDB and AWS Lambda
I'm facing an issue related to MongoDB connections while sending push notifications to users three times a day — morning, noon, and evening.
I have a Lambda-based service that uses SQS and MongoDB. A ...
-2
votes
1
answer
47
views
when trying to connect to local MongoDB Server with nodeJS [closed]
first i run on terminal mongod
then i use node app on terminal it show nothing it take too long i waited for it to show an err or any message but nothing
const MongoClient = require('mongodb')....
0
votes
0
answers
185
views
On-premises data gateway
I want to connect my on-premises database with Microsoft Data Fabric to avoid duplication and data migration.
For this, I have successfully installed the Microsoft on-premises data gateway (standard) ...
0
votes
1
answer
44
views
"Access denied" when using PyMySQL with OceanBase in transactional mode, but MySQL client connects fine
Environment
OceanBase Community Edition 4.2.1 (MySQL mode)
Python 3.10
PyMySQL 1.1.0
I'm trying to use PyMySQL to execute transactions on OceanBase, but I'm getting an unexpected "Access denied&...
0
votes
0
answers
77
views
How to efficiently manage its connections pool using the mariadb-connector-js package from npm?
I have some interogations about the mariadb connector (and the whole mariadb database's functioning) on connections handling.
In my typescript program (using mariadb-connector v3.4.0 with a mariadb ...
0
votes
1
answer
82
views
How is a scoped DbContext's connection handled?
When I implement an ASP.NET Core application, I may have several middlewares that must interact with the database in order to check something. All of them, and also the final endpoint, share a scoped ...
0
votes
0
answers
51
views
Where does this Mongo stacktrace come from in a Spring Boot app?
I have a Spring Boot 3.4.2 app, which has several databases and services configured, including MongoDB. There are 2 connections to MongoDB, each with their own credentials and database they access.
...
2
votes
1
answer
51
views
How to use multiple database connections in Django TestCase
I'm writing a testcase to reproduce deadlock in my service. After I use multiprocessing to create a two thread, I found they use the same database connection. So I can't reproduce the deadlock ...
0
votes
0
answers
57
views
Why is my WordPress database table not available for a connection?
I've been building a site in WordPress currently based on my local hard drives using localhost. But I started receiving an "Error establishing a database connection" message.
The issue has ...
1
vote
1
answer
303
views
Quarkus Always Tries to Use Docker for PostgreSQL Despite Disabling DevServices
Problem Statement
I am trying to configure my Quarkus application to connect to my local PostgreSQL database, but it always tries to start PostgreSQL using Docker via Dev Services. Even after ...
0
votes
0
answers
104
views
Python MySQL Connection Hangs Using mysql-connector-python
My Python script hangs when trying to connect my Flask app to a MySQL database using mysql-connector-python. The MySQL server is running because it runs perfectly in VSCode, but I can't connect via ...
0
votes
1
answer
566
views
Why mysql.connector is not working, although pymysql is working to connect database locally?
I tried to connect my MySQL database from a Python script using mysql.connector, but could not be able to connect. Then I tried to connect using pymysql and the db was connected successfully. Why am I ...