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.

learn more… | top users | synonyms

0
votes
0answers
22 views

Music database to run track data against

I'm writing an app that will let me manually edit my iTunes music library from outside of iTunes using a SQL-like syntax. I know how to edit the library, but I want to be able to run my track info ...
0
votes
1answer
24 views

how do I connect to sqlite database?

How do i connect to a sqlite database? I am planning to distribute a db with my application with all the tables already made in it, so i don't need to create a new db or tables, just distribute it. I ...
1
vote
1answer
28 views

Cannot connect to SQL Server: Failed to retrieve data for this request

I have been writing a program in c# using Visual Studio 2012. This program makes numerous calls to the database, and everything has always worked perfectly; never had to mess with any configurations ...
0
votes
3answers
39 views

PHP PDO Database Connect Class [duplicate]

This is what I have as my database class: <?php // Define configuration define("DB_RDBMS", "mysql"); define("DB_HOST", "localhost"); define("DB_NAME", "ccaweb"); define("DB_USER", "ccawebroot"); ...
0
votes
1answer
12 views

Integrated Security with Impersonate=true / Connection String issue / ASP.NET

We have a website deployed with Impersonate=true. A connection string is defined as this: Integrated Security=SSPI;Persist Security Info=false;Initial Catalog=MyDatabase;Data Source=MyServer; ...
0
votes
0answers
12 views

Hardcoded DB Failover - Java, JDBC, MSSQL, Cisco CVP

Need to add failover DB functionality in our system with access to limited codes that can be revised. The current Cisco DB element that we are using is not up for revision to maintain standards so we ...
1
vote
1answer
26 views

How to whitelist 2 ip-adresses with ip-tables and block everything else?

I want to whitelist 2 external ip-adresses vor port 3306 (mysql), but block all other IP-adresses to the port 3306 on a debian server running a mysql-instance. Both external ip-adresses should be able ...
0
votes
1answer
23 views

Importing CSV to Django and settings not recognised

So i'm getting to grips with Django, or trying to. I have some code that isn't dependent on being called by the webpage - it's designed to populate the database with information. Eventually it will ...
0
votes
0answers
23 views

c# Oracle Dynamic Connection string solution

I have an application that connects to specific Oracle user & database with data provided by user through one little form. User inputs Username, Password and host address and can connect to any ...
0
votes
1answer
38 views

MYSQL connector saying it has connected even with the wrong username?

I am building a database connection scanner for my security course at university. I have used DriverManager.getConnection(connectionURL, username, password) and it seems to work fine but with one ...
0
votes
4answers
30 views

php mysql database connection in an array with port number

In php I am doing connection to the mysql database in a simple way like this <?php $link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); if (!$link) { die('Could not connect: ' . ...
1
vote
1answer
29 views

C# exe not working on target platform x86

so, I'm trying to log accesses to my shared files on the network (I'm modifying Abdollah Zawari's ShareMoniter), i do this by starting openfiles.exe like so: var process = new Process(); ...
0
votes
1answer
20 views

MySQL connection from my desktop to remote MySQL not working

The error specifically says "Host ..com is not allowed to connect to this MySQL Server" I have the correct userid and password which works fine on remote MySQL if I RDP and login locally. The TCP ...
0
votes
4answers
72 views

finidng time difference between two times stored in database using sql and c#

string sqlUserName3 = "SELECT out_date FROM status where s_id='" + TextBox2.Text + "'"; SqlCommand sqlcmd3 = new SqlCommand(sqlUserName3, sqlcon); sqlUserName4 = "SELECT in_date FROM status where ...
-1
votes
1answer
15 views

How to Put Database Connection to ServletContextListener [on hold]

Servlet ContextListener is helpful in informing about context Initialization and destruction. In a typical content management web system, there is always a database behind.

1 2 3 4 5 147
15 30 50 per page