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.

database-connection
2,725 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
1 answer
150 views

mysqli connection attempt failed after about 20 seconds

I'm trying to set up a web server at home, using XAMPP v3.2.2, running on a 32-bit Windows 10 tablet. It has: - Apache/2.4.38 (Win32) - PHP Version 7.3.2 - mysql Ver 15.1 Distrib 10.1.38-MariaDB, for ...
William's user avatar
0 votes
0 answers
31 views

Oracle unable to connect

I had a working SQLDeveloper/DataGrip installation. Cleaning up my hard drive I deleted and emptied the trash of my downloads folder. On attempting to connect to a database instance I receive: Status ...
blue-sky's user avatar
  • 53k
0 votes
0 answers
3k views

Not able to connect to SQL database from nodejs

So I'm new to node.js and I'm trying to make a connection to my local database to later insert data. However when I execute my code it gives me a connection error with errorcode ESOCKET. I tried ...
JVK's user avatar
  • 88
0 votes
1 answer
29 views

Cannot connect to another server database (Authentication with old password...)

I try to connect to another server and database for transfer data purposes. But unfortunately the image below appear. May I know the reason and can show me how we can create connection to that server? ...
Shahmim's user avatar
0 votes
0 answers
204 views

SqlDataReader Item property loses connection

I have this large SQL Server query (legacy) over several tables, that I read with a SqlDataReader. It usually has a limited number of rows to handle, but recently I had to use it over a larger number. ...
Jean-David Lanz's user avatar
0 votes
1 answer
384 views

domain connecting to localhost and links not working (ERR_CONNECTION_REFUSED)

I'm having trouble to get my website properly online, which I created/designed in Wordpress. I have bought a domain and rented a WordPress hosting server. I have uploaded my whole WordPress folder on ...
Ayesha's user avatar
  • 1
0 votes
0 answers
425 views

Can't connect C# WinForm to an Online DataBase

I am using the below code for connecting to SQL Server on 2 different laptops and is working only on just one. On the other one, it shows up the next error: Application.exe Error: 0 : Unable to ...
Viorel's user avatar
  • 39
0 votes
0 answers
224 views

Holding onto database connection while using 'yield'

I have a basic data class (stripped back for brevity & that it compiles): public static class Database { public static IEnumerable<T> GetRecords<T>(string query, Func<...
Steven Sproat's user avatar
0 votes
0 answers
884 views

This driver is not configured for integrated authentication, any ideas

I keep getting this error while I try to connect to SQL server with integrated security, can anyone help please. This driver is not configured for integrated authentication public static ...
Moe 's user avatar
  • 3
0 votes
0 answers
404 views

How to pass a database engine/connection to a multiprocessing pool ? can't pickle _thread._local objects

I want to execute sql on task function efficiently. But I don't know how! I am currently calling a dumb function from task that creates a connection with with snowflake.connector.connect(...
knows not much's user avatar
0 votes
1 answer
312 views

Error while connecting DBaaS from SQl developer. Able to connect from putty

Hi I created one database in Oracle cloud. I am able to connect on the same via putty. But I am not able to connect from sqldeveloper. Below error is coming when I am trying the same. Can you please ...
user avatar
0 votes
0 answers
223 views

How to connect oracle 32 bit client from .net 64 bit framework

I have an oracle 12C 32 bit client. I can't update the client to 64 bit as it is the requirement. How do I connect this to.net 64 bit framework? Is there any way to do this?
Niklaus's user avatar
  • 39
0 votes
0 answers
267 views

mysql nodejs too many connections

I have an API server which runs different API calls to a mysql database: this is the file which entirely handles the connections and the queries: const mysql = require('mysql') const pool = mysql....
Mattia's user avatar
  • 85
0 votes
1 answer
76 views

Could not find installable ISAM In Network Database

I am trying to connect Access database which is located on Main server. Here is the code: <connectionStrings> <add name="AccessConnectionString" connectionString="Provider=Microsoft.ACE....
Alyasar Abdulsattar Khatri's user avatar
0 votes
0 answers
182 views

2 datasource connection using properties file

My application.yml file looks something like: spring: profiles: environment jpa: database-platform: org.hibernate.dialect.MySQL5InnoDBDialect hibernate: ddl-auto: none datasource: url: ...
Achal's user avatar
  • 133
0 votes
0 answers
173 views

MYSQL/JDBC Forming a JDBC connection URL to connect to a database having a question mark(?) in its name?

I have a database with a name order?id(don't ask me why). The connection url I formed is jdbc:mysql://localhost:3306/order?id which seems to be invalid as it throws an error Unknown database "...
Anish Sharma's user avatar
0 votes
1 answer
119 views

how to connect from Microsoft CRM to google analytics

We have a store site but we don't have online sell and our customer after visit our pages call us. so we can't track purchases through google analytics. We are using Microsoft Dynamics CRM and my ...
SeyedReza Kazemi's user avatar
0 votes
1 answer
271 views

How to read DB name from properties files?

this is my code to cocnnect to a db in mongodb, this database variable is getting dbname fro properties file now whwn I am using client.database it is not able to connect to that db but if I use ...
Aman Swarnkar's user avatar
0 votes
0 answers
671 views

Can't use Sybase.AdoNet.AseClient.dll in Visual Studio 2017

I was installed Sybase.AdoNet.AseClient.dll from Nuget and when i try to use it, it is throwing error as there is no package.
Rajesh Reddy G's user avatar
0 votes
0 answers
115 views

Php Application takes Exact 16 mins to connect Oracle Database

I'm using application developed in PHP and Oracle Database. First few requests are processing properly, But after that it takes exact 16 mins to connect database through application. For Example: ...
Ganapathy's user avatar
  • 545
0 votes
0 answers
293 views

Can't connect to MongoDB Atlas with MONGO_URL environmental variable

I am trying to connect to my MongoDB cluster from the terminal when starting my Meteor app with the below command: MONGO_URL="mongodb+srv://<myUserName>:<myPassword>@XXXXXX-tdumu.mongodb....
Evgin's user avatar
  • 306
0 votes
1 answer
2k views

HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl

Using azure db server but getting this error continuously in spring boot application running in a pod in Azure Kuberenetes Service. Not able to solve it.
nik22's user avatar
  • 21
0 votes
1 answer
35 views

Trouble connecting to a remote SQL Server

I have a bit of a head-scratcher here. I have two development PCs on my network behind the same firewall. One can connect to a remote SQL Server using SQL Server Management Studio, the other cannot. I ...
MrTaliesin's user avatar
0 votes
0 answers
539 views

spring boot mybatis check database connection

I am developing a spring boot app that uses myBatis for database. <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</...
Gabriel García Garrido's user avatar
0 votes
1 answer
334 views

Oracle DB connection between two computers

I have Computer A , IP = 10.20.30.40 (that store the Oracle Database) I have Computer B , IP = 10.20.30.50 (with this computer i want to connect) I have used connection string: Data Source = ...
Pint11's user avatar
  • 9
0 votes
1 answer
230 views

How to fix MySQL.Connection.Open() error in release version of a UWP app?

I'm creating a daycare app and have been struggling with the release version of the build(everything works fine in debug). I have a combobox that gets populated from a MySql db but for some reason ...
Projects GSD's user avatar
0 votes
1 answer
681 views

MongoDB Atlas connection from mongoc (C) driver fails intermittently with 'No suitable servers found'

I'm using the MongoDB C driver (1.9.2) to connect to my Atlas Cluster (M5 using AWS). My requests often succeeds, but I get this error about half the time. The longer I wait between requests, the more ...
user2209583's user avatar
0 votes
1 answer
104 views

make many mysql command in one connection in c# visual studio & unknown column in where clause

I have mySql database contains ID, projectName, companyName, projectNum, .. etc I need to create Combobox that display projectName (project name isn't unique) when I try to execute this the following ...
Sarah's user avatar
  • 21
0 votes
1 answer
52 views

How can I correct this errror with Java FX?

I am getting below error : ERROR: java.sql.SQLSyntaxErrorException: Unknown column 'password' in 'field list'*** + and long text errors ISSUE1 : When I tried to connect Java FX and MySQL Database,...
programmer's user avatar
0 votes
0 answers
144 views

when trying to open a connection to phpmyadmin server the program freezes

I'm trying to get my application to work with the database which is online in a phpmyadmin sql server. when i start my application it needs to get the password from the database, but when it tries to ...
Julian Van giersbergen's user avatar
0 votes
1 answer
917 views

CAn't connect to server from SQL server Data tools

I am not able to establish connection to Servers using the SSIS. It shows the following error Error it shows Error in words: "TITLE: Connection Manager Test connection failed because of an error in ...
rajat_th's user avatar
0 votes
0 answers
143 views

Do you know why the following error is occurring when I try to connect to an Oracle Server "Status : Failure -[LDAP: error code 32 - No Such Object]"?

When my colleague attempts to connect he is having no issues. We both have previously been granted access to the server, and have established this is not an issue as my colleague can access the server ...
Tom's user avatar
  • 101
0 votes
0 answers
140 views

Abandoned H2 connection involving linked table

I'm having trouble with an application using H2, seemingly due to database connections being left open. I'm trying to understand if it's H2 leaking the connection or me (I'm aware that it's more ...
tomfumb's user avatar
  • 3,721
0 votes
1 answer
972 views

Don't get connection to HSQLDB database

I have already existed database. When I test my connection, I get this exception java.sql.SQLInvalidAuthorizationSpecException: invalid authorization specification: SA at org.hsqldb.jdbc.JDBCUtil....
Krit's user avatar
  • 1
0 votes
1 answer
142 views

What component from Access Database Engine 2007 affects ActiveX?

I have some programs with MS Access connections, using Microsoft.ACE.OLEDB.12.0 provider. After last Office update (version 16.0.11629.20246) they start failing, so i tried execute ...
Igor Tenório's user avatar
0 votes
1 answer
81 views

Error while connecting Django with sql server database

Im using mssql as the backend for the database.In the setting.py file,I need to use the host name with backslash. Due to this, I got the timed out error. DATABASES = { 'default': { '...
Venugopal srinivasan's user avatar
0 votes
1 answer
81 views

R: What is the faster way to read the table from data base?

R. I need to read table from MYsql faster. Now it used for connection: conn <- dbPool( drv = RMySQL::MySQL(), dbname = ............................) and construction like this is used for read (...
Elena Khotlyannik's user avatar
0 votes
1 answer
186 views

Getting "Login failed for user 'TestUser'." during the connection to DB via ASP.Net Program

I am trying to connect my DB via a program in ASP.Net but I get below error: Login failed for user 'TestUser'. It is important to notice that I am able to connect by MySQL Workbench to this ...
Babak's user avatar
  • 1
0 votes
0 answers
565 views

Node postgres - (node:43028) UnhandledPromiseRejectionWarning: error: sorry, too many clients already

I am trying to add data to my databases. There are multiple entries in an array dataArryay.forEach((element) => { queryData(elementData) } The function is called multiple times async ...
TommyD's user avatar
  • 943
0 votes
1 answer
196 views

How to use a database in Visual Studio 2017

I'm a novice programmer, and I'm working with somebody to create a simple application in Visual Studio 2017 Community that uses a local embedded database for storing data. We've been having a lot of ...
N Sharrett's user avatar
0 votes
0 answers
130 views

How to solve com.microsoft.sqlserver.jdbc.SQLServerException The value is not set for the parameter number 5

The procedure runs smoothly when insterting just one SQLServerDataTable, or several simple params(like strings and integer), problem comes when I want to add more datatable parameters to send. here is ...
Jairo Jimenez's user avatar
0 votes
1 answer
655 views

How to execute the PL/SQL code stored in .sql files using cx_Oracle and Python

My requirement is to execute the PL/SQL code stored in multiple .sql files using python. My assumtion was "curs.execute(sql_command)" would work but problem is I have to pass the input parameters as ...
Mohd Faheem's user avatar
0 votes
0 answers
872 views

I'm getting this error in Airflow WEB UI Logs constantly backend postgres? ERROR - Scheduler heartbeat got an exception: (psycopg2.OperationalError)

My airflow is install on kubernetes cluster with 3 nodes and configured with postgres SQL Server, Recently multiple logs of the DAG File is having this error and because of this the job gets delayed ...
nishant's user avatar
  • 131
0 votes
1 answer
59 views

Are there changes in Workbench connecting to Google Cloud MySql?

I have seen some similar posts, but this one is intriguing me a lot. I moved from the Pacific area (with my instance in USA Central) to Finland. I have been able to connect to the MySql database ...
SensorGert's user avatar
0 votes
1 answer
345 views

How to connect to Oracle with a password that includes semicolon

I am using VBA to connect to an Oracle database. Everything is working fine unless the password contains a semicolon. This is how I connect to the database: Dim cn As ADODB.Connection Dim strCon As ...
Stefan Litzel's user avatar
0 votes
0 answers
172 views

Can’t open SQL .MDF file because it’s version 852

I’ve created a C# application and have published it. I tested the published application on my own computer and everything was working properly. When I installed the app on my client’s computer that ...
Jacob's user avatar
  • 9
0 votes
0 answers
450 views

Remote SSH Connection to MySQL not listening on port 3306

I'm trying to connect Tableau to a SQL database that I have hosted on pythonanywhere.com, but it's not working and I believe the reason is that my remote connection to pythonanywhere.com has no ...
Jonathan Bechtel's user avatar
0 votes
0 answers
57 views

Is there a way for PHP PDO to detect if a t-sql database is being restored?

I'd like my PHP script (using PDO) to detect whether or not a target database is in the middle of a restore process other than waiting several minutes for a response from a failed connection. My ...
Michelle's user avatar
0 votes
1 answer
276 views

Wix Display Results from refrenced table

i have two table in wix: Products ProductCatgeories Products table has a field name "type" which is refrnced to ProductCatgeories table i am trying to fill a table elent with a search results that ...
Tzur Levy's user avatar
0 votes
1 answer
62 views

Using ADODB within Access

I'm trying to use adodb connection withing access vba, and it doesn't return me anydata, I guess my problem would be the connection, even though i'm using CurrentProject.Connection. Need help please, ...
Shady El Beltagy's user avatar

1
24 25
26
27 28
55