You are here: command line ODBC connection problem « PHP Programming Language « IT news, forums, messages
command line ODBC connection problem

Posted by hugenin on 01/12/06 12:00

Hello

This is my problem:
I hava a php script which collect data from a remote IBM DB2 AS400 ,
and puts them on a local MYSQL server.
Calling it from a browser, it's fine.

I want to launch it from command line using CLI ($php script.php)
to put it in a cron job.
Not working!

It gives an error line like: " odbc_connect(): SQL error: , SQL state
è\@ø in SQLConnect".

After "SQL state" are not readable characters.

The error seems to be in the odbc_connect() statement?

Any ideas?
Can I solve it, or have to go back to PERL? (Don't want to!)

thanks
huge

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация