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.

Error 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

Please don't post this question as duplicate. I am trying to configure mysql for about 3 weeks now. Someone should really …

mysql database database-connection mysql-5.1
Necessity of explicit cursor.close()

From time to time, I'm executing raw queries using connection.cursor() instead of using ORM (since it is definitely not …

python django database cursor database-connection
What is a validationQuery with respect to databases and JNDI?

I seem to be having the same exact problem as the poster of this original SO question. The problem is, …

java jdbc database-connection sybase jndi
Closing a cx_Oracle Connection While Allowing for a Down Database

The following cx_Oracle code works fine when the database is up: #!C:\Python27 import cx_Oracle try: conn = cx_…

python database-connection cx-oracle nameerror try-finally
Connect to IBM i server from Sql Server 2008 R2

I have a big deal: I have to connect (I just want to read data, not to write) to my …

sql-server database-connection oledb ibm-midrange linked-server
Dispose the connection or Close the connection

Which one of the following two methods has better performance ? using( var DB_Connection_s = new DBConnection() ) { //todo: interact with …

c# asp.net performance database-connection informix
Rails - Postgres - could not connect to server: Connection refused (PG::ConnectionBad)

Yesterday I've install Postgres and pgAdminIII, all worked correctly, but after reload it stopped working. After rails server I've got …

ruby-on-rails database sqlite database-connection rails-postgresql
How can I change the look of SQL Server Management Studio based on which database I'm connected to?

I'd like to modify the appearance of the query window in SQL Server Management Studio based on which database I'm …

sql-server user-interface database-connection ssms
Postgresql: No connection could be made because the target machine actively refused it

Running Postgresql 9.5 on a windows server 2012 R2 in Azure While running some loadtests on my application, I get errors on …

windows postgresql azure database-connection windows-server-2012-r2
Listing table results in "CREATE TABLE permission denied in database" ASP.NET - MVC4

I'm using ASP.NET MVC 4 - c# to connect to a live database, and list the results, however when I …

c# asp.net-mvc asp.net-mvc-4 database-connection database-permissions