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.

What is a good value for CONN_MAX_AGE in Django?

Django 1.6 now supports CONN_MAX_AGE to pool database connections. By default, the value is 0 (no pooling). What is a …

django database-connection django-1.6
Thinking behind decision of database connection pool size

i am working on opensource java based application i.e xwiki. Insie hibernate.cfg.xml i can see value of …

java sql-server database-connection connection-pooling flexy-pool
is it safe to keep database connections open for long time

I have a .net client application which is connected to a remote database. Is it safe to keep a single …

.net database database-connection
Connecting to Oracle DB using Ruby

I am stuck with connecting to Oracle DB, have read lots of stuff but no help on result. I have …

ruby oracle database-connection oracle-call-interface
unable to retrieve metadata for unrecognized element providers

I get a message error whenever I try to add a controller with Entity framework template but I keep getting …

entity-framework asp.net-mvc-4 ef-code-first database-connection connection-string
PHP Error: "Call to undefined function mysqli_connect()"

In PHP I'm getting this error: Call to undefined function mysqli_connect() I checked my php.ini file and there …

mysqli database-connection php apache2.2
PostgreSQL: could not connect to server - Connection refused error

I've failed to set up postgreSQL to work with my Ruby-on-Rails project for the past week. I've tried to uninstall …

database postgresql database-connection database-server
Get the hostname from a DataSource class

Is there a way to get the hostname from the DataSource class in java? I mean, I have a DataSource …

java database-connection datasource hostname
Connection string to SQL server with Python pypyodbc

I'm using this connection string but something is wrong. conn = pyodbc.connect (DRIVER={SQL Server};SERVER=localhost;DATABASE=test;UID=…

python sql-server database-connection pypyodbc
redis.exceptions.ConnectionError: Error -2 connecting to localhost:6379. Name or service not known

I have this error when I run my code in server, my env is debian, and Python2.7.3 Traceback (most recent …

python redis database-connection redis-py