Questions tagged [database-connectivity]

96 questions
0
votes
1 answer

Am I missing a step in generating entity classes from a darby database using Netbeans, or is there an error with my Glassfish server?

I am trying to run a simple Java EE application using NetBeans, Darby and Glassfish. The application will not run as the Glass fish server encounters an error during the initial stages of deployment: Caused by:…
0
votes
3 answers

Vertica Python Connection

I'm trying to connect to a Vertica database via Python. Here is what I have so far. Using vertica_python: ! pip install vertica_python from vertica_python import connect conn_info = {'host': '192.168...', 'port': my_port_number, …
quietone
  • 1
  • 1
  • 1
  • 2
0
votes
1 answer

PostgreSQL: Which connectivity uses psql tool of PostgreSQL

Does anybody know how psql accesses PostgreSQL database? What it uses odbc, jdbc or some native database library?
Timofey
  • 2,478
  • 3
  • 37
  • 53
0
votes
0 answers

PDO execute return false

Hey I am practicing login system with oop from codecourse.Till the database connectivity everything moving in right direction but when i try to run query execute return false. class DB{ private static $_instance = null; private $_pdo, …
0
votes
0 answers

Why is it not possible to connect Android directly with Oracle

While trying to build a direct connection between an Android app and the Oracle database, i have gone through a lot of posts and tutorials saying it`s not possible. However, it was never clearly mentioned why it is not possible. So, what is the…
iamserious
  • 51
  • 1
  • 7
0
votes
1 answer

what is the informix connection string to run a sql file through windows command prompt?

I am new to informix, I would like to know what is the connection string of informix to run a sql file through windows command prompt. for example to run sql file in windows command prompt with mssql we use command " sqlcmd -S myServer\instanceName…
0
votes
0 answers

interchange rows and columns in java using database connectivity

My MySQL table looks like this: UIN Body_Type Brand Model Variant 1 Sedan Skoda Rapid MPI 2 Hatchback Ford Fiesta TDC 3 SUV Renault Duster RXE But in java, I want it to be shown like: Fields …
Teegan
  • 1
  • 2
0
votes
1 answer

Using Access database with C# on another computer

This feels like a dumb question but I am a bit confused. I am building a C# address book application (Windows Form) that adds, deletes, selects, and updates contacts to an Access database and I'm using DataGridView in the application to show the…
Chris Koro
  • 71
  • 1
  • 1
  • 7
0
votes
1 answer

getting ORA-12545 even though host name is correct

I am try to access remote database by making these changes to my tnsnames.ora file (sorry won't declare host names and service name here) MYDB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host_name)(PORT = 1521)) (CONNECT_DATA = …
user3400060
  • 299
  • 3
  • 9
  • 23
0
votes
0 answers

Access Database Error

I am using MSAccess in which I have created a table booking and the name of the database is Project. When i run the file it gives following error: The Microsoft Jet database engine cannot open the file 'C:\Users\Yusuf Lappy\Documents\Project.mdb'.…
YusufSM
  • 45
  • 1
  • 5
0
votes
0 answers

Python 3.5 ibm_db2 can't install

I'm quite new to python, but I need to connect with my python to a DB2. I'm trying to install the Python extension since a few hours and I can't get to a result. When I'm installing the extension with python ibm_db2 -- install I get the…
0
votes
2 answers

ODBC Driver for SQL Server vs SQL Server Native Client

If I use linked tables in Access 2010 to connect via ODBC to SQL Server 2014 Express, which driver is better? ODBC Driver 11 for SQL Server SQL Server Native Client 11.0 The image shows the possibilities of drivers one can use while creating a…
0
votes
2 answers

Inter-related combo boxes in WPF

I am using WPF C# in my project. My UI contains 4 combo boxes ,each will be loaded by the values from database. Now all 4 comboboxes are displayed at a time. But what I want to do is,First combo box 1 should be visible/displayed then user selects a…
0
votes
1 answer

how can we get details from another database inside a plugin in wordpress

I created a plugin in wordpress to display earnings by using a shortcode.The details to display while using shortcode are stored in another database.I used direct database connection in plugin to fetch details from the that database.I used the…
anuja
  • 27
  • 8
0
votes
1 answer

Most efficient way to update a MySQL Database on a Linux host with that of an ASP.Net Form on Windows host?

My kind webhost (1and1) royally asked me to go elsewhere to do something like this. I have 2 sites. One of them was developed by a .Net programmer. Now I am contracted to implement a PHP site and fetch data from the .Net site. There is an ASP.Net…
ThinkCode
  • 7,841
  • 21
  • 73
  • 92