Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2010
    Posts
    33

    Unanswered: Fatal error: Call to undefined function ODBC_connect()

    Hello

    I have been looking solutions for error above.
    I have no idea what is the problem and how to solve it.

    Server Info
    Linux Debian
    Apache
    PhP5
    DB2 Express-C 9


    Thank

  2. #2
    Join Date
    Jan 2009
    Location
    Zoetermeer, Holland
    Posts
    746
    Server info is very interesting. The error is coming from the windows-client I presume?
    Did you install the db2-client on the windows machine? If so try:
    Code:
    catalog tcpip node db2_node remote 192.168.0.100 server 50000 ;
    catalog database sample at node db2_node ;
    catalog system odbc data source sample     ;
    I made the following assumpions:
    - your debian server's TCP/IP number is 192.168.0.100
    - you are making a connection to the sample database on your debian server
    - the instance managing the sample database is listening to the default port number 50000

    If there is no window client involved you do not need ODBC at all. Then you'll need this: Connecting PHP applications to IBM DB2 Universal Database
    Last edited by dr_te_z; 12-29-11 at 03:26. Reason: typed "debain" instead of "debian" :)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •