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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I import sql from a CD?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi, I am currently learning php and mysql from a book, (PHP and MySql web development) All the code comes on a cd, I am in the MySql tutorials and they say I can use the sql from the cd instead of typing it all in by hand, but I'm not sure how to do this, any suggestions?

 
You mount CD in your CD reader and look for different files containing SQL statements -
 
Yeah and then how do I open it so it can be incorporated into Mysql?
 
at the mysql prompt :
mysql> \./path/to/file/file.sql

and the sql will be run. ***************************************
Party on, dudes!
[cannon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top