LIBASOV IOANNIS wrote:
>
> I'm not quite sure if this question is appropriate for this mail list, so may be
>somebody can tell me whom to ask better.
>
> I was going to run the following code:
>
> ..........
> if (system("mysql -u username -ppassword -h hostname -P 3606 < path/to/filename
>2>errlog")) {
>
> return ("Something wrong - $? ");
>
> }
>
> return undef;
> ...................
>
> It does not works under LINUX and Windows95 (it works fine under Windows NT. The
>command works also in command line).
>
> The code is not being executed, and it does not return any error code ($?).
>
> Please help!!!!
>
> Thanks!
> Yannis Livassov, [EMAIL PROTECTED]
Try giving the full path to mysql.
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php