Re: running sql scripts with 'source'

2002-11-05 Thread Daniel Koch
Don Vu wrote: Hi guys, I have a script in my home directory that i want others to be able to run. I 'chmod 777'ed the file and the folder it lives in and people still can't run it when they are at the mysql prompt and type "source /path/to/script/scriptname.sql". I can execute that script, even

RE: Running SQL Scripts

2002-01-22 Thread Jarlath . Hennelly
EMAIL PROTECTED] Subject: Re: Running SQL Scripts Hi, This should do the trick mysql > source /path/to/file.sql or shell > mysql databasename < /path/to/file.sql And it doesn't matter about the file extension. Kevin - Original Message - From: "Jarlath . Hennelly

RE: Running SQL Scripts

2002-01-22 Thread Achim, Caterina
Hi J, I think you shoud type of command prompt: mysql database < file.sql and this will create the database Cheers, Caterina -Original Message- From: Jarlath . Hennelly [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 2:19 PM To: MySQL (E-mail) Subject: Running SQL Scripts

RE: Running SQL Scripts

2002-01-22 Thread John Lodge
The file extension can be anything you like the command is mysql < file_name -Original Message- From: Jarlath . Hennelly [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 1:19 PM To: MySQL (E-mail) Subject: Running SQL Scripts Dudes & Dudettes, I got a SQL script with all the

Re: Running SQL Scripts

2002-01-22 Thread Kevin Smith
Hi, This should do the trick mysql > source /path/to/file.sql or shell > mysql databasename < /path/to/file.sql And it doesn't matter about the file extension. Kevin - Original Message - From: "Jarlath . Hennelly" <[EMAIL PROTECTED]> To: "MySQL (E-mail)" <[EMAIL PROTECTED]> Sent