try

echo file.sql > mysql -u username -p password databasename

or on dos

type file.sql > mysql -u username -p password databasename

That should execute the scripts on the db in question,

or you can download a a tool like mysqlgui/mysqlfront and
use it to load and run the queries.

Sean
-----Original Message-----
From: Divakar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 4:50 AM
To: [EMAIL PROTECTED]
Subject: Hello please help me out


Hi list

  I am a beginner in the field of mysql
I would like to know whether it is possible to run sql scripts(a .sql file)
in mysql.
if yes please some body tell me how do we do that,.

regards
Div


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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