Driver ODBC error

admin

Administrator
Staff member
Hi,

I'm using Red Hat 7.1 and Appgen 5.1 for my database.
I don't know the path to the driver, so I play around with it.
I got this error:

Warning: SQL error: [][unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed, SQL state IM004 in SQLConnect in /var/www/html/test1.php on line 8
can not connect to DSN: appgen

If I use the unixODBC Driver, then I got this error:
Warning: SQL error: [][unixODBC][Easysoft ODBC (Client)]Data source not found and no default driver specified, SQL state IM002 in SQLConnect in /var/www/html/test1.php on line 8
can not connect to DSN: appgen

My question is about the first error message. Is that mean I use the correct database driver?
Thanks for any help.

Mike
 
Back
Top