Linux ODBC Apache issue

Linux specific forum
Karlos
New User
New User
Posts: 6
Joined: Tue Jun 29, 2004 1:02 pm

Linux ODBC Apache issue

Post by Karlos »

Hi,
I've been trying to speed up some perl code by converting to purebasic and have got a strange ODBC issue.

When running as root or a normal linux user the program works fine. When hooked into apache and run from a browser the code gives up :

[TCX][MyODBC]Unknown database 'MySQL-test'

The line is
database=opendatabase(#PB_Any,"MySQL-test","user","pass")

I have odbc.ini set in /etc and also as a thought I put .odbc.ini in /home/apache just in case

Any thoughts?
Thanks
Karlos
New User
New User
Posts: 6
Joined: Tue Jun 29, 2004 1:02 pm

Post by Karlos »

oops - turns out the myodbc link drivers or somethign were out of date

cheers
Post Reply