Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-03-2009, 04:06 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
What "Database-Connector" to use under Linux?


probably this topic doesnt fit exactly here - but I'll just try it.
What kind of "Database-Connector" may be used for platform- and vendor-independet Database-Access? I don't know much about ODBC. But using it under Linux and MacOS just doesn't "feel right". And what connector would be used, if the application solely is to be runable under Linux? Would JDBC be the right Solution?



Last edited by sischfuppe; 09-03-2009 at 04:11 AM. Reason: forgot letters
Old 09-03-2009, 05:25 AM   #2
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
Depends what database you want to use, what programming you want to use. JDBC of course good for Java, not for php. ODBC basically is universal connector, it can run in Windows & Linux. Please give more information than people can assist your easier. If you really confuse, go ahead to ODBC. It work for everything. But suitable driver for your database shall installed properly.
Old 09-03-2009, 08:51 AM   #3
LQ Newbie
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
DB is Orcale, client Qt. I don't want to use OCI, because i have some troubles getting it running (although it is supported bei Qt) and the backend might change in the future. Isn't there something beside ODBC that meets those needs?
Old 09-03-2009, 03:28 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Other than Qt's built-in Oracle support (which is based on OCI,
as far as I know) and ODBC? No. And who'd want to maintain that?

Realistically it should be safe for you to use the Qt drivers.
I'm fairly that if/when Oracle changes the OCI interface, Trolltech
will follow. Why don't you build your app against *BOTH* of
those interfaces? If one starts failing (Oracle was faster than
trolltech) you could fall back to the still working but slower
ODBC. Just some food for thought.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
system commands like "ls" says "cannot connect to database" Rams3377 Debian 8 11-20-2007 11:01 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 09:31 AM
Snort database: Closing connection to database "" Homer Glemkin Linux - Security 2 07-14-2005 07:58 PM
How to find back "history" database after "history -c" ? san_lss Linux - Newbie 1 01-07-2004 12:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration