Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
2 votes
1 answer
76 views

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 ...
Imtiaz's user avatar
  • 67
0 votes
1 answer
53 views

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 ...
Dave Clark's user avatar
0 votes
1 answer
94 views

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 ...
user2217057's user avatar
0 votes
0 answers
124 views

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 ...
Muhammed Ladeed's user avatar
-2 votes
1 answer
46 views

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')....
Swayat D. Cool's user avatar
0 votes
0 answers
166 views

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) ...
Muhammad Arshad's user avatar
0 votes
1 answer
31 views

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&...
user avatar
0 votes
0 answers
64 views

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 ...
Paul-Marie's user avatar
  • 1,129
0 votes
1 answer
74 views

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 ...
Massimiliano Kraus's user avatar
0 votes
0 answers
47 views

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. ...
Stewart's user avatar
  • 18.8k
2 votes
1 answer
47 views

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 ...
scanf3's user avatar
  • 43
0 votes
0 answers
46 views

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 ...
MavWeb's user avatar
  • 21
1 vote
1 answer
270 views

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 ...
Anjan Biswas's user avatar
0 votes
0 answers
97 views

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 ...
Inez Anne-Marie's user avatar
0 votes
1 answer
442 views

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 ...
Siddikur's user avatar
0 votes
1 answer
78 views

I'm working on a VBA code to get data fro a Sharepoint list, and update it directly from my Excel file. My code is actually working, and here it is : Option Explicit Dim HomeSh As Worksheet Sub ...
user1833903's user avatar
0 votes
0 answers
80 views

I'm really looking for best practices here, or something I've not thought of. I have scripts which loop through multiple tables (potentially hundreds) in Snowflake within Snowflake, and do some form ...
Aaron's user avatar
  • 5
0 votes
1 answer
69 views

I'm building a Node.js application using Express.js and MongoDB (Mongoose). I want to ensure that my database connections are handled efficiently to avoid memory leaks and connection issues. Currently,...
CodebergIT Technology Works's user avatar
1 vote
0 answers
124 views

I'm experiencing a recurring "socket hang up" error when using ClickHouse with Node.js, and I'm hoping to understand how to reproduce and fix it. Here are the details: ClickHouse version: 23....
dev  nodejs's user avatar
0 votes
2 answers
111 views

I get multiple connections to my Database, the query says "Rollback" and the connections increase instantaneously. and the duration of those connections are extremely high as compared to the ...
Osama Ehsan's user avatar
1 vote
1 answer
94 views

I can't connect to my brand new empty Oracle database from DBeaver or SQL Developer with just made new DB user. I just get started to use Oracle Database 23ai, with SQL Plus logged in as SYSTEM and ...
user2312787's user avatar
-1 votes
1 answer
88 views

After trying to connect to my MongoDB database while testing my code in Node.js as per usual, I received a connect ECONNREFUSED 127.0.0.1:27017, connect ECONNREFUSED ::1:27017 error message in console....
user28751094's user avatar
0 votes
0 answers
45 views

I am using Logstash 8.12 My logstash pipeline reads data from sql server and send to Azure ElasticSearch. It works fine when ES is available. When Elastic search node is unreachable, I get the error ...
user2506233's user avatar
1 vote
0 answers
81 views

We are using AWS RDS Aurora Cluster with AWS RDS Proxy connected to a Payara Micro Application using PostgreSQL. We are receiving exceptions from time to time in our application ("PSQLException: ...
pqU676's user avatar
  • 11
-1 votes
1 answer
140 views

Im trying to connect to my database. Its working if i use mongodb compass but then im using mongoose to connect it doesn't work. I keep getting this error: Mongoose connection error ...
Gerardo Acedo's user avatar
1 vote
1 answer
52 views

Assume you have two database connections. Each are currently open and performing reads and writes. They both read and write to some table entry at approximately the same time but the slightly later ...
Little Bobby Tables's user avatar
2 votes
2 answers
275 views

I am reading about uses of Connection Pool in Java based web applications. https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html I understand that a Connection in the Connection Pool is equivalent ...
Kul's user avatar
  • 119
-1 votes
1 answer
84 views

I have a user_service application that connects to a MySQL database using the following configuration: datasource: url: jdbc:mysql://localhost:3306/user_serviceDB username: root password: **** ...
Amit Kumar Tiwari's user avatar
0 votes
1 answer
139 views

I have the problem that I cannot connect to MinIO using spark. The MinIO endpoint is running on Kubernetes and I forwarded the ports, it is accessible using curl or mc, so the issue must lie somewhere ...
dxr5's user avatar
  • 1
0 votes
0 answers
115 views

I want to execute a console program (.NET application) in a Docker container. It contains a mongo client and functions OK when used as a stand-alone program, however I keep receiving timeout errors ...
Leo's user avatar
  • 141
0 votes
0 answers
61 views

This appears to be an issue that has been answered before (e.g. by @MSaudi here). I followed that discussion but it did not solve the problem I am running into. Would appreciate some pointers as I am ...
spervez's user avatar
  • 33
0 votes
0 answers
158 views

I have been searching for a solution to my problem but haven't found anything helpful yet. I am wondering what the best approach is to tackle this issue without making changes to the configurations. ...
da_user_2023's user avatar
0 votes
0 answers
27 views

I opened sqlite3.exe application located in this folder: C:\Users\myname\AppData\Local\anaconda3\Library\bin The terminal comes up with the following prompt: sqlite> I have my my.db file located in ...
tkj80's user avatar
  • 211
0 votes
0 answers
120 views

I have an ASP.NET Core 8 MVC application. In production the application throws an error Npgsql.PostgresException (0x80004005): 08P01: no more connections allowed (max_client_conn) I am using NPGSQL ...
entity hassle's user avatar
0 votes
0 answers
94 views

I am facing a connection error when trying to connect to IBM DB2 Cloud via MicroStrategy. (Database error <5>: Connect failed. Error type: Odbc error. Odbc operation attempted: SQLDriverConnect. ...
F.Henrique's user avatar
0 votes
0 answers
30 views

I'm writing a simple website that uses postgresql, sqlalchemy, and flask. I have a server on which my DB is installed, and when I connect to it via this code: the connection is successful. from ...
Dana Hartman's user avatar
0 votes
2 answers
485 views

I want to use ThreadPoolExecutor to parallelize some (legacy) code with database access. I would like to avoid creating a new database connection for each thread, so I use threading.local() to keep a ...
Eugene Yarmash's user avatar
0 votes
1 answer
159 views

I am currently learning spring boot. From online example it shows setting up postgress database on docker and connecting with spring boot application running locally in my PC. my docker-compose.yaml ...
Janaka's user avatar
  • 2,835
0 votes
0 answers
137 views

I am using Spring Boot with JPA and HikariCP as the connection pool for my application. My application.properties file is configured as follows: spring.datasource.driver-class-name=com.mysql.cj.jdbc....
Khaled El Attar's user avatar
0 votes
0 answers
152 views

I’m encountering a persistent issue with the Oracle C++ Call Interface (OCCI) when attempting to connect to an Oracle database. Despite successfully connecting to the database using SQL Plus and ODBC ...
Pratyus B's user avatar
1 vote
0 answers
152 views

** I finally removed the TLSv1 from the "jdk.tls.disabledAlgorithms" list in "the java.security" file. I found the solution on here, I have tested it and it works perfectly. Thank ...
Yacine Limane's user avatar
0 votes
1 answer
266 views

I installed a DB2 instance inside a Docker container. Now I'm trying to connect to it from a simple Golang app, using Windows 11 x64, but i get this error: Error connecting to database: failed to ...
GreatTeacherNullPointer's user avatar
0 votes
2 answers
2k views

First, is this the correct json? Do I need to specify the ProviderName? "ConnectionStrings": { "DefaultConnection": { "ConnectionString": "Data Source=(...
Scott Pendleton's user avatar
0 votes
1 answer
373 views

I'm using python to test the Airflow DAG. I have environmental variable: AIRFLOW_CONN_DB="postgresql://postgres:[email protected]:6099/db" and I use the following command to get the hook to ...
Марина Лисниченко's user avatar
0 votes
1 answer
167 views

I'm encountering an issue with my application hosted on AWS after upgrading from .NET 6.0 to .NET 8.0. My application is running in a Docker container. After the upgrade, I started receiving the ...
temo mikava's user avatar
0 votes
0 answers
187 views

I'm encountering an issue while trying to connect my MongoDB Atlas cluster to my Node.js project using Mongoose. Here's a brief breakdown of the problem: Error: MongoDB connection error: ...
furkang68's user avatar
2 votes
1 answer
125 views

I'm trying to move records from one database to another database using a powershell script with psql, in a single call. The select query result is copied to stdout, which is used in the second pipe ...
ionutnespus's user avatar
1 vote
0 answers
209 views

I'm currently using TypeORM with RDS Aurora PostgreSQL, and I'm considering introducing PgBouncer to address the following two issues: The node-postgres library used by TypeORM doesn't support the ...
rlsisqls's user avatar
0 votes
2 answers
230 views

I created a utility class to handle database connections using JDBC. I get the error below in another class, performing actions such as displaying the values from the database: "Cannot invoke &...
Landry Okoye's user avatar
1 vote
1 answer
91 views

I have two databases: a master database, which serves as a common database, and another database (dedicated to each tenant/customer) with the same schema. If you have experience with a multi-database ...
mubashir's user avatar
  • 961

1
2 3 4 5
144