Le samedi 31 janvier 2004, Albert Steckenborn a écrit... bonjour,
> ODBC_CONNECT("<IP>:<DB>","<user>","<password"); is working > Can't use the previous one because machines are changing from time to time. > ODBC_CONNECT("<DB>","<user>","<password"); fails with following message: > PHP Warning: odbc_connect(): SQL error: [MySQL MaxDB][LIBSQLOD SO] Data > source name not found and no default driver specified, SQL state IM002 > in SQLConnect in conntest.php I used this syntax, which _was_ working, with SapDB 7.4.3.17 $dsn="DSNName"; $conn_id = odbc_connect ($dsn, "user", "passwd") or die ("odbc_connect(): erreur\n"); > >>[DB1] > >>DSN = 192.168.1.2:DB1 > >>SERVERDB = DB1 > >>SERVER = db_server1 > >>SERVERNODE = 192.168.1.2 > >> and had no DSN field in /nonexistent/.odbc.ini -- jm -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]