Questions tagged [database-connection]

A database connection is a facility that allows client software to communicate with database server software, whether on the same machine or not. A connection is required to send commands and receive answers.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

Laravel BelongsToMany on different databases

In my app (Laravel 9) users can belong to groups, and users can access resources "attached" to the group(s) they belong to. However the resources are stored on a different database (we use ...
Stefano's user avatar
  • 554
0 votes
0 answers
15 views

Repeated down times with connection timed out issue

I hosted WordPress site on AWS,but the problem is I am getting repeated down times with the error "CONNECTION TIMED OUT". The error CONNECTION TIMED OUT is being resolved after rebooting the ...
Sunil Madhav Sanapala 's user avatar
-1 votes
0 answers
15 views

Troubleshooting Remote MySQL Connection Error: Access Denied for User When Connecting from Cloud Server" [duplicate]

ERROR 1045 (28000): Access denied for user 'dhia'@'165.51.103.94' (using password: YES) Hello, I'm trying to access my local MySQL server from a cloud machine and have completed all necessary ...
dhia eddine saria's user avatar
1 vote
0 answers
66 views

File already in use with database MS-ACCESS in VB.NET

I'm trying to open the database by access and then I run the application in vb.net then an error appears File already in use. If I don't open the MS-ACCESS database then running the application has no ...
siwa86's user avatar
  • 357
0 votes
0 answers
62 views

Migration from local Mysql Database to Azure Database for mysql: connection timeout [closed]

I am trying to do this very basic task for learning purposes, but I have some problems connecting from the Azure Database to the local Mysql on my laptop. The reverse seems to work, because I managed ...
lalla14's user avatar
-1 votes
0 answers
14 views

Handling frequent updates in database causing connection problem

Our application has run in bottleneck where database always runs out of connection in a pool. Our application is used to display ads in website. We are using MySQL with 4GB RAM and 2vCPUs. Our API is ...
Gaurav Nepal's user avatar
0 votes
1 answer
28 views

Spring Boot Fails to Connect to PostgreSQL When Username and Database Name Are the Same

I'm working with Spring Boot and trying to connect to a PostgreSQL database. I've encountered an unusual issue where the connection fails when the username and database name are the same. This issue ...
lc xu's user avatar
  • 1
0 votes
0 answers
16 views

Unable to connect to neo4j VM on the network via Neo4jDesktop

I downloaded the neo4j OVA from bitnami and spun it up on my VSphere Server. The installed version of Neo4j on this prepackaged VM is 5.13 Community Edition. It has a static IP address (192.168.1.6) I ...
Pantheos Max's user avatar
-2 votes
0 answers
14 views

Unhandled Exception: SocketException: Connection refused in Flutter on Android Studio [duplicate]

I am working to connect my flutter app in android studio to MySql database and I'm getting connection issues I have 2 files, (1) mysql.dart (2) main.dart in the mysql.dart i gave all the details of my ...
WinX's user avatar
  • 1
-2 votes
1 answer
31 views

VSCode SQL Server extension, no connection

So I am attempting to query data on my Azure SQL database. I have installed the SQL Server extension on VSC and established a connection to my database. On the panel on the left, I can see my ...
Rohit Pawar's user avatar
0 votes
0 answers
6 views

OrientDB connections not getting closed on close API

I am facing issue with orientdb and getting below exception. Reached maximum number of concurrent connections (max=1000, current=1000), reject incoming connection from /127.0.0.1:54782 [...
Arpit Dongaonkar's user avatar
0 votes
1 answer
44 views

Why Database connection Access denied for user? [duplicate]

Create an web application in Visual studio first time, I am trying to access mysql database server hosted on Godaddy, The exception 'Access denied for user 'uspolo'@'IP Address'. I have created user ...
Sunny's user avatar
  • 3
-2 votes
0 answers
24 views

i have a problem when i want to connect my php script to mysql [duplicate]

$user = '***'; $pass = ''; $name = 'todolist'; $host = '***'; $port = '***'; $conn = mysqli_connect($user, $pass, $name, $host, $port); if ($conn->connect_error) { die("Connection failed:...
0x8D's user avatar
  • 1
-1 votes
0 answers
24 views

Unable to figure out Warning: mysqli::__construct(): (HY000/2002)

While visiting the website: https://www.fanphobia.net/ I faced this problem with warning message as shown below Warning: mysqli::__construct(): (HY000/2002): Connection refused in /var/www/fanphobia....
Harish Chandra Rajpoot's user avatar
0 votes
0 answers
43 views

Project with different modules but main module in root

I want to create a library in Go, a utility library for Gorm. The thing is that to create tests, I need also a driver (like postgresql, or mysql), but I don't want those drivers to be included in the ...
Manuelarte's user avatar
  • 1,688
0 votes
1 answer
54 views

How to establish SSH tunnel from python script on Google Cloud Run to server with PostgreSQL database?

I've done some research and based on it, my first question is: It is not possible to establish an SSH tunnel from python script in Google Cloud Run to the server where the database is located natively,...
Dmytro Horodetskyi's user avatar
1 vote
1 answer
51 views

Org.postgresql.util.PSQLException :

I'm using Kolten with PostgreSql I'm trying to establish Connection through JDBC. with fun main the connection is Ok but with the main activity causes this Error "Org.postgresql.util....
Mohamed Khalil ah's user avatar
0 votes
0 answers
53 views

Is it possible for a database connection made from the application to the SQL Server to be lost, but the query continues to run? [duplicate]

Sorry, if this is a silly question, but I am not an application developer, so I am not sure about all the ins and outs of SQL Server connection management. My question is pretty much contained in the ...
SQL_Guy's user avatar
  • 343
-1 votes
0 answers
52 views

Remote connection to SQL Server between Virtual Machine

I have this situation: Win 11 PC that hosts 2 hyper-v virtual machines. On VM1, I have installed a SQL Server database and I want have access to this database from VM2. Every vm has a fixed local ip. ...
Ciro Fuccio's user avatar
0 votes
1 answer
42 views

Python notebook query to Dbeaver to SAP HANA

I have a dbeaver connection to SAP HANA database but want to use dbeaver as a 'middle man' to send python notebook queries to and pull out of SAP HANA. I have python 3.10 installed and it won't let ...
Sam Hinton's user avatar
0 votes
0 answers
14 views

What protocol does ADO.NET uses to communicate with the with database server?

I am trying to understand how does ADO.NET communicate with the database server. From what I know this far, it use either the ODBC and OLE DB APIs to accessing the database. How does it establish the ...
Jay's user avatar
  • 1,322
0 votes
1 answer
39 views

Databricks catalog schemas not showing in Qlik data loading

I am working in a project where we have a BI development consuming data from a Databricks Catalog. We had it working fine until we updated our Qlik on premise version to 14.129.12. That's when the ...
Victor Almeida's user avatar
-2 votes
0 answers
63 views

Cant connect my dbeaver database to Planetscale MYSQL server while hosting on render. SQL Error [1045] [28000]:

I have to setup the database connection. So first I go to Dbeaver and then setup the connection with the planetscale, it works fine on my localhost but as soon as I commit the changes to github and ...
Arpan Padhi's user avatar
0 votes
0 answers
51 views

A dockerized FastAPI app doesn't connect to a dockerized PostgreSQL DB

I'm pretty new to the docker stuff and I wonder why my FastAPI app can't connect to the db deployed in another container. I will deeply appreciate any help. This is my Dockerfile: FROM python:3.10 ...
Michael_ON's user avatar
1 vote
1 answer
110 views

What is the difference between TADOConnection, TFDConnection and TSQLConnection?

I'm looking to make a database connection but I'm not sure what db connection to use. I saw there are many different ones available. TADOConnection, TFDConnection, and TSQLConnection. What are the ...
Json Dabbler's user avatar
0 votes
0 answers
49 views

Microsoft.ACE.OLEDB.16.0 provider is not registered on the local machine. (Use MS Access 2016)

I'm trying to connect to an Access database in my C# code, but I keep receiving the error message: "The Microsoft.ACE.OLEDB.16.0 provider is not registered on the local machine." I have ...
KEERTI SHARMA's user avatar
0 votes
0 answers
50 views

C++ Code to Connect to Oracle DB Not Working

I am trying to connect to Oracle DB using Visual Studio 2022, programming language C++. I have all the include directories specified in my project properties, as well as all relevant .lib files linked....
Victoria Amos's user avatar
2 votes
1 answer
103 views

Tableau - Informix connection

I am trying to call a store procedure through Tableau for an ODBC Informix server. In QlikSense if I run the same query I am able to retrieve the data (because of this I think it's a syntax issue) The ...
lgndrzzz's user avatar
  • 108
0 votes
0 answers
11 views

C# Server-Side Issue: Handling GET Requests and Database Interaction [duplicate]

I'm working on a web development project using C#. I'm trying to handle GET requests and interact with a SQL database, but I've run into an issue. I'm new to this, and I'm hoping someone can help me ...
Diego Rivera's user avatar
0 votes
0 answers
16 views

Issues with installation of Taguette on my local machine

Before installing taguette on a server, I wanted to ensure that I was able to have it up and running on my own machine using the docker tutorial of taguette (self-host-taguette). However I don't seem ...
user21297752's user avatar
0 votes
0 answers
7 views

when date change, after every midnight my software disable to login

I have create a software in angular12, nodejs and mysql for database. We host this on server IP address, but everyday after 12am midnight, when date change, it's disconnected from database. We are not ...
BK Sandhya's user avatar
0 votes
0 answers
18 views

connect ECONNREFUSED 149.102.153.200:3300

I have a website on Node.js and a database on POSTGRESSQL, the website is working fine on my local server but when I published it on the Cpanel it shows "connect ECONNREFUSED 149.102.153.200:3300&...
Anas_Askari's user avatar
2 votes
0 answers
48 views

Couchbase connection taking too much of time in java

We are creating environment variable like this. logger.info(marker, "Couchbase## initializeBuckets tracerConfig start time {}", LocalDateTime.now()); ...
Amit Sinha's user avatar
0 votes
1 answer
31 views

Retrieve dbPool arguments from existing object

I would like to use the arguments used for the dbPool connection inside another function without having to provide the information again. I have tried to use dbConnectArgs but I wasn’t able to make it ...
Marc08's user avatar
  • 13
0 votes
0 answers
85 views

OperationalError connection is bad: Cannot assign requested address Is the server running on that host and accepting TCP/IP connections?

I'm running a script that polls the db continuously checking for new rows that need to be processed. This script is running as a background process in a docker container which runs the flask app in ...
Maheedhar's user avatar
0 votes
2 answers
64 views

Pushed to wrong postgresql database

I used an URI in .env to connect my code to the database of my app, but it connected to the postgres database instead of the database "workout-app" and I don't know how to fix that. My ...
Mhl's user avatar
  • 1
1 vote
1 answer
39 views

Need a 3ms delay after connecting to MySQL in Dart to successfully query. Why?

Hello Stack Overflow community! I've encountered a peculiar issue when working with MySQL in Dart. When I try to query the database immediately after establishing a connection, I get an empty result. ...
googlewalker's user avatar
0 votes
1 answer
22 views

MarkLogic XML Queries

We would like to add some scripts to our monitoring environment, for which we would need some help with the XML queries for Blockings Total number of connections Highest cpu consuming ML ingestion ...
Rajashekar Raju's user avatar
0 votes
0 answers
31 views

Can't ping or connect successfully from Intellij to docker postgres container

I am trying to connect my docker postgres database to my Intellij. I have created the container and a database inside. The container is running and i can create tables and everything. In my Intellij, ...
mirel01's user avatar
0 votes
0 answers
19 views

Access denied for user 'garage_paraut'

I'm trying to connect to my site's database but I get this error, Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'garage_paraut'@'localhost' (using password: YES) ...
rudo_passion_code72's user avatar
0 votes
0 answers
23 views

Acces denied for user with correct credentials [duplicate]

When trying to connect to a mysql database being hosted through some free online service (fredb.tech) the following error gets thrown: Caused by: java.sql.SQLException: Access denied for user '...
Lars De Bock's user avatar
0 votes
0 answers
7 views

I have created a calendar help me to save and delete event direction page

I have created crud operation calendar using php HTML javascript and have added crud operation to it. When I’m clicking on save event to save data into form on calendar the page is getting directed to ...
Pooja 's user avatar
1 vote
0 answers
76 views

How to handle a postgres database connection reset with an open golang client connection

I have a bunch of golang microservices that connect to postgres using the https://github.com/jmoiron/sqlx/ package. When the service starts up, it connects to the database successfully and then gets ...
Crystal Thai's user avatar
0 votes
1 answer
25 views

Getting an error TypeError: Cannot read properties of undefined (reading 'query') while connecting to microsoft access db

const databasePath = 'C:\\Users\\2250689\\Downloads\\trailRMTool.accdb'; const connection = odbc.connect(`Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=${databasePath}`, (err) => { ...
FaThima Hussain's user avatar
1 vote
1 answer
153 views

Connection to database lost in Flask app and no reconnecting

I have a Flask app deployed on Kubernetes that in the backend fetches data from the database and displays it in the frontend. I make the connection using pyodbc and read the data using pandas. If ...
MKorona's user avatar
  • 285
0 votes
0 answers
20 views

Abnormal behavior occurs when docker run directly starts the program

I want to run my program when create a docker container, start command is /app/<program>, this program will call and connect another ODBCServer process by thrift rpc to use mysql database ...
Changfeng's user avatar
0 votes
0 answers
27 views

How to connect RStudio to SQL DB on MacBook Pro M2?

I have a MacBook Pro M2. I would like to connect to my SQL DB through RStudio but I cannot do it because I get below issue: **Error: nanodbc/nanodbc.cpp:1135: 00000: [unixODBC][Driver Manager]Can't ...
Nursultan Yesbolatov's user avatar
0 votes
0 answers
270 views

Error occurred while connecting MongoDB Atlas and Spring Boot

I'm new to MongoDB and I try to built a simple spring boot CRUD application by replacing MySQL with MongoDB as a database. While running my application after configuring mongo it gives me an ...
Arul NR's user avatar
0 votes
0 answers
19 views

which mail server can save the status of a sent letter in the database

Help, please: which mail server can save the status of a sent letter in the database? Now I parse the SandMal log, then call the procedure in Postgres and save the status of the letter. The problem is ...
Nik Zuzichev's user avatar
0 votes
0 answers
56 views

Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo

I am facing this issue Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system ...
Alberuni Beruni's user avatar

1
2 3 4 5
144