[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Hello please help me out


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:divakarl@xxxxxxxxxxxxxxxx]
Sent: Thursday, June 28, 2001 4:50 AM
To: mysql@xxxxxxxxxxxxxxx
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 <mysql-thread77882@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail
<mysql-unsubscribe-sean.odonnell=sentia.ie@xxxxxxxxxxxxxxx>
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 <mysql-thread77895@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



This mailing list archive is a service of Copilot Consulting.