04-14-2011
Debian - Connect To Informix Database
Can anyone point me toward information on setting up a Debian server ODBC connection to an Informix server? I have a Windows server set up with the Informix drivers in ODBC and I'd like to do the same thing on Debian so that my Rails apps can query the database beneath our call-logging software. My Google searching only came up with really out-dated results. Any help is greatly appreciated. Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
This is the info i have so far. please if you are dead positive can u let me know if i my math/process is correct.
Chunks
address chk/dbs offset size free bpages flags pathname
5003e1f8 1 1 0 250000 177177 PO- /database/link_cw_p01_rootdbs
5003e494 2 ... (5 Replies)
Discussion started by: Optimus_P
5 Replies
2. UNIX for Dummies Questions & Answers
How do I access Informix from unix? It's been about 2 years since I've last used unix and I've forgotten the command. (2 Replies)
Discussion started by: pbouknight
2 Replies
3. Programming
hi, please, help me
i need connect my program in C whit a SybaseIQ 12 database
i´m programming in solaris 5 (unix)
please, help me, because i don`t know what to do...
thanks..
jonathan (0 Replies)
Discussion started by: DebianJ
0 Replies
4. Shell Programming and Scripting
please, help me-....
i need connect to a database Sybase IQ 12 and I don't know if i can do it using a shell program.
if it's posibble, please tell me how...
please, help me, because I don't know what to do....
thanks...
jonathan (1 Reply)
Discussion started by: DebianJ
1 Replies
5. Programming
Anybody please help me how connect a database file in TC for windows.
regards
Senthil. K (5 Replies)
Discussion started by: Senthil
5 Replies
6. IP Networking
i am working on informix database
can any body helps me with coding how to connect to it on solaris (3 Replies)
Discussion started by: ramneek
3 Replies
7. Shell Programming and Scripting
Hi All
Please let me know if there is command to check the version of the informix database installed..?
Thanks in advance.
Suresh (4 Replies)
Discussion started by: sureshg_sampat
4 Replies
8. Windows & DOS: Issues & Discussions
hi,
I'd like to connect to a Sybase ASE 12 through a a graphic user interface (GUI) that run on windows and solaris10, because i need to do some querys.
The database is running on solaris 10.
I'm not an expert using databases, but i know how to use some SQL commands through command line... (3 Replies)
Discussion started by: danin
3 Replies
9. Debian
Hello,
I wont to connect a MySQL database to debian:
I have installed libmyodbc package and after i have configured /etc/odbcinst.ini:
Description = MySQL driver
Driver = /usr/lib/odbc/libmyodbc.so
Setup = /usr/lib/odbc/libodbcmyS.so
and /etc/odbc.ini :
Description =... (0 Replies)
Discussion started by: linux31
0 Replies
10. IP Networking
Hello Everyone,
I have unable to run the default server with localhost in my Debian machine. While trying to run Django I get:
Error: That IP address can't be assigned-to.
error
While trying to run galaxy-dist I get this error:
socket.error: Cannot assign requested address
I can't telnet... (3 Replies)
Discussion started by: sachit adhikari
3 Replies
LEARN ABOUT PHP
ifx_connect
IFX_CONNECT(3) 1 IFX_CONNECT(3)
ifx_connect - Open Informix server connection
SYNOPSIS
resource ifx_connect ([string $database], [string $userid], [string $password])
DESCRIPTION
ifx_connect(3) establishes a connection to an Informix server.
In case a second call is made to ifx_connect(3) with the same arguments, no new link will be established, but instead, the link identifier
of the already opened link will be returned.
The link to the server will be closed as soon as the execution of the script ends, unless it's closed earlier by explicitly calling
ifx_close(3).
PARAMETERS
All of the arguments are optional, and if they're missing, defaults are taken from values supplied in php.ini (ifx.default_host for the
host (Informix libraries will use INFORMIXSERVER environment value if not defined), ifx.default_user for user, ifx.default_password for the
password (none if not defined).
o $database
- The database name, as a string.
o $userid
- The username, as a string.
o $password
- The password, as a string.
RETURN VALUES
Returns a connection identifier on success, or FALSE on error.
EXAMPLES
Example #1
Connect to a Informix database
<?php
$conn_id = ifx_connect ("mydb@ol_srv1", "imyself", "mypassword");
?>
SEE ALSO
ifx_pconnect(3), ifx_close(3).
PHP Documentation Group IFX_CONNECT(3)