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.
3
votes
0answers
417 views
OdbcConnection to local DBF file fails in one application but not another
Greetings stackoverflow,
I am using the following block of code in two C# projects of mine, one is a project where I prototype methods and code blocks like this, and the other is my actual project.
...
3
votes
0answers
383 views
Open Connection to SQL Compact File, with other Extension than .sdf
I just can't open this connection if the file extension is different to .sdf.
Is there a workaround? Please do not suggest temporarily changing the file extension.
Thank you
2
votes
0answers
40 views
What is a good value for CONN_MAX_AGE in Django 1.6
Django 1.6 now supports CONN_MAX_AGE to pool database connections.
https://docs.djangoproject.com/en/1.6/ref/settings/#conn-max-age
By default, the value is 0 (no pooling). What is a sensible value ...
2
votes
0answers
31 views
JBoss 7.1.1 security manager
Is there a way to override the security manager class - "JaasSecurityManager" (I need to disable caching), like it was in the old jboss versions (through jboss-service.xml).
Thanks a lot!
2
votes
0answers
51 views
How to set a path or change to access the server configuration file in postgresql
I am trying to connect my postgresql database but its giving me " Server not listening" blank pop up window error and timing out the connection. I figured out from Event viewer that it is due to my ...
2
votes
0answers
49 views
What should i import in java to perform connection pooling for db2 and tomcat
I was using these imports in jsp
<%@ page import="java.sql.*,javax.naming.*,org.apache.tomcat.jdbc.pool.*" ...
But when i try to use same imports , java gives error at line
Connection ...
2
votes
0answers
50 views
Informix connection disappearing from Rails app
I'm connecting to an Informix database from a Rails app, and there are times where the app will die (requiring a restart it seems), with the following error message:
Informix::DatabaseError: ...
2
votes
0answers
2k views
ReasonCode=54. ERRORCODE=-4499, SQLSTATE=08001
I am getting following error message,
A communication error occurred during operations on the connection's
underlying socket, socket input stream, or socket output stream.
Error location: ...
2
votes
0answers
157 views
What to do if database connection check fails in bootstrap?
I am developing an app using grails. In the bootstrap part, I am checking and initialising database connections. Suppose the database is not available due to some problem its wise to send notification ...
2
votes
0answers
123 views
what is the logic behind facebook group notification?
i want to know what is the logic of facebook group notification and how it works? if one user turn off the notification than what kind of process under goes so that user will not get the notification ...
2
votes
0answers
99 views
what are the properties of an asynchronous database driver?
Today I was discussing with some python friends some of the challenges in managing connection pools in async networking frameworks like Twisted and Tornado.
I know there are community developed ...
2
votes
0answers
206 views
SQL Server counting remote connections
I have an SQL server database which is used by an asp.net application using ado.net.
The server version is 10.50.1600.1
c:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL
Users have ...
2
votes
0answers
335 views
Database connection settings with DB_DEBUG set as FALSE
I'm trying to connect to my database but i get the following message:
Unable to connect to your database server using the provided settings.
Filename: core/Loader.php
Line Number: 346
So after ...
2
votes
0answers
43 views
Querying Database from a kernel mode driver
I want to query a SQL database from a kernel mode driver. i found that this can be done by querying a user mode application to do the task and return the result to kernel mode driver.
But is there ...
2
votes
0answers
230 views
Locale aware sorting in sql server
My basic problem is that I have users with different locales using a database and I want them to get items sorted in their native order.
My understanding is that it works like this:
When I create ...