List:General Discussion« Previous MessageNext Message »
From:Christian Mack Date:June 17 1999 9:42am
Subject:Re: start external batch file
View as plain text  
Matthias Redl wrote:
> 
> Hi!
> 
> I've got  an external file containing the command for creating a rather
> complex table.
> 
> How do I launch this batch file in "mysql", not from the command line
> (before I started mysql) but from within mysql.
> 
> in SQL*Plus this is achieved with the @ smybol or the start command, what's
> the corresponding  command in mysql?
> 
> is it possible to launch a local file or do i have to transfer the file via
> ftp to the server first?
> 
> thanks,
> Matthias

Hi Matthias

Just do:
mysql databaseToUse <fileWithCreate.sql

Tschau
Christian

Thread
start external batch fileMatthias Redl17 Jun
  • Re: start external batch fileChristian Mack17 Jun