Hello all,
This is probably really basic for all of you but I have been trying to find it
in the manual without success...
My question is if it is possible when you are logged in to MySQL to run a file
with sql-statements in, instead of sit and execute each statement seperatly.
The file I
The command you need is
source filename ;
Alternatively, if you are outside the mysql clined
mysql filename
Alec
Joppe A [EMAIL PROTECTED]
04/04/2005 09:59
To
mysql@lists.mysql.com
cc
Subject
how to run a file in MySQL
Hello all,
This is probably really basic for all of
Hi Joppe,
Use SOURCE or \. to execute the filename:
mysql SOURCE E:\SQL\MySQL\test_tables.sql
Database changed
++
| Tables_in_test |
++
| a |
| academies |
.
HTH
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk