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