One way is to include it in your mysql start command:

mysql -u user -ppassword <scriptfilename

You may have to include the path with the scriptfilename.

regards,
det

On Sat, 23 Feb 2002 13:21:27 +0530, Chetan Lavti wrote:

>hi,
>I have written a script for database creation and table creation. Now I
>want to run this script from the MySQL prompt. How can I do this..?
>Please , anybody know about this , so that I can create my database by
>simply running that script.
>
>Thanks and regards,
>Chetan Lavti




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to