Top "Database-connection" questions

A database connection is a facility that allows client software to communicate with database server software, whether on the same machine or not.

passing DB Connection object to methods

Was wondering if it is recomended to pass a database connection object around(to other modules) or let the method (…

c# .net ado.net database-connection
Connect LINQPad to remote SQL Server

Disclaimer: I understand the question is very basic, but I could not find the answer in Google or here, and …

sql-server-2005 database-connection linqpad
Spark-Cassandra Connector : Failed to open native connection to Cassandra

I am new to Spark and Cassandra. On trying to submit a spark job, I am getting an error while …

cassandra apache-spark database-connection spark-cassandra-connector
How to Close Sqlite Connection without explicitly calling Close Method using .NET

I am creating desktop application in winform that will use Sqlite Database. So I created Sqlite Helper class that uses …

c# .net sqlite database-connection system.data.sqlite
PostgreSQL could not receive data from server: Software caused connection abort (0x00002745/10053)

I tried to establish a connection in pgAdmin to the PostgresSQL server. I always get the message: could not receive …

postgresql server database-connection psql pgadmin
Call to undefined function sqlsrv_connect() - Troubleshooting

System Information CMS: Wordpress Web Server: XAMPP PHP Version: 5.5.30 MS Management Studio 17 Goal Establish MSSQL Database connection using PHP What …

php sql-server wordpress database-connection sqlsrv
Cannot connect to PostgreSQL from client - Error timed out

After many days I am trying to connect to my PostgreSQL instance, I decided time has come to ask for …

postgresql database-connection pgadmin dbeaver
C# Winforms Npgsql 3.0.5 "An operation already in progress" error when trying to run multiple commands inside same connection

I'm trying to run the following snippet in C# Winforms. This piece of code is working well with pgsql 2.2.6 adapter. …

c# database database-connection npgsql
Oracle (0x80004005)ORA-12154: TNS:could not resolve the connect identifier

I'm trying to connect to an oracle db from an ASP classic application, however I keep running into the ORA-12154 …

oracle asp-classic odbc database-connection ora-12154
OracleConnection is throwing empty exception

I'm trying to connect to my Oracle Database from my new PC. I've just installed Visual Studio and the ODAC. …

c# oracle database-connection odp.net odac