List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:March 28 2001 2:57pm
Subject:Re: perl API
View as plain text  
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, iliba@stripped

Try giving the full path to mysql.
Thread
perl APILIBASOV IOANNIS24 Mar
  • Re: perl APIGerald Clark28 Mar