Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

executing sql scripts

Status
Not open for further replies.

Srivats

Technical User
Feb 21, 2006
5
IN
Hi,

I am new to MySQL. I need to know how to execute an sql script that is stored in a file (in Windows).

Thanks
 
gonna need more information. like what kinda script ???
php , perl , c , text ...?

cheers devnull22
(Knowledge Base Center )

--
Apparently if you play the Windows NT CD backwards you hear satanic messages. If you think that's bad, play it forwards and it installs Windows NT !
 
if it's a .sql script you're referring to: install

mysql-front .. a very handy tool for various operations on mysql databases.

grtz
CPUburn
 
Or the straightforward:
Code:
shell> mysql < C:\path\to\script.sql

-Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top