Re: sourcing a mysql file from perl

2002-01-02 Thread Jochen Wiedmann
Zitiere Stephen Spalding <[EMAIL PROTECTED]>: > $load_sql = "source ${CRONLIST_SQL}/load.sql.${file_date}"; What makes you think that "source" is a valid MySQL command? As far as I can tell it isn't mentioned in the docs. ___ Redhat-list mailing lis

Re: sourcing a mysql file from perl

2001-12-31 Thread Cameron Simpson
On Mon, Dec 31, 2001 at 08:47:27AM -0600, Stephen Spalding <[EMAIL PROTECTED]> wrote: | I'm trying to 'source' a mysql script file from inside of perl and I'm | having problems. The mysql script file is called load.sql.20011231, and it's | full of insert statements. Here a small sample: | | in

Re: sourcing a mysql file from perl

2001-12-31 Thread Jason Costomiris
On Mon, Dec 31, 2001 at 08:47:27AM -0600, Stephen Spalding wrote: : insert into crontabs values : (' ', 'dev2', 'asn', '00', '19', 'ALL', 'ALL', '1'); : insert into crontabs values : (' ', 'dev2', 'asn', '00', '19', 'ALL', 'ALL', '2'); Are these inserts really broken into two lines for each? : $