Running scripts using 'source' from MySQL commandline
Posted: Fri Feb 16, 2007 6:46 am
Hi,
The MySQL manual says that I should place a script in the 'home directory', and use the 'source' command 'source %s.sql' from the MySQL commandline to execute the script.
It doesn't say where the 'home directory' is, where should I place my script? The root directory of my MySQL install is C:\MySQL5
Many thanks
The MySQL manual says that I should place a script in the 'home directory', and use the 'source' command 'source %s.sql' from the MySQL commandline to execute the script.
It doesn't say where the 'home directory' is, where should I place my script? The root directory of my MySQL install is C:\MySQL5
Many thanks