[unixODBC-support] Hieroglyphic error message

Nick Gorham nick at easysoft.com
Tue Aug 17 13:13:02 BST 2004

Philipp Igler wrote:
> I've installed unixODBC Manager on an AIX server. I think I've 
> configured everything correct, because when I call up the isql 
> application, everything works properly. BUT...when I call up a PHP 
> script which includes an 'odbc_connect' statement, I got the error 
> message "*Warning*: odbc_connect(): SQL error: .Ø/ñý@‡(Òcd, SQL 
> state /ñý0/ñý€Òcd .Ø/ñý@‡(Òcd in SQLConnect in */html/cat_test.php* 
> on line *8*".
> BUT, when I add "exec("export DB2INSTANCE=db2inst");" before the connect 
> statement, everything is very slow and nothing happens.
> Can anybody help me?
> Phil

It looks like the data may be coming back as UNICODE, turn on ODBC 
tracing, restart the web server, try again, and see whats in the trace file.

Nick Gorham
Easysoft Limited

More information about the unixODBC-support mailing list