php - Informix PDO connection : Error SQLSTATE=HY000, SQLDriverConnect: -329 sqlerrm(systables) -


it has been days (weeks ?) since try connect informix sql database php can't make work. i'm stuck error :

sqlstate=hy000, sqldriverconnect: -329 [random characters, ex :`�%] sqlerrm(systables)

i can make link windows odbc utility http://i.stack.imgur.com/1chal.png impossible on php. installed informix drivers , informix dll extension php , run this:

putenv("informixdir=c:\\informix");     try {         $db = new pdo("informix:host=iat-----; service=sqlexec; database=sige---; server=iat-----; protocol=sesoctcp;", "if----", "pass---");     } catch (exception $e) {         echo('erreur : ' . $e->getmessage() . '<br>');     } 

thank kind help.

error message -329 is:

database not found or no system permission 

it means despite best efforts, astray environment. either you've misspelled database name or server name, or database not set allow user access database, or along lines.

much more that, can't with. you're on windows, , i'm not. can @ setnet32 settings, fact can connect via windows odbc utility suggests of need should ok.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -