Thread: Using .sql's
View Single Post
  #2  
Old 11-14-2008, 09:09 PM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

.sql files are just files full of SQL queries that create tables and load the data.

Login to a MySQL command prompt, 'use' the database you want to run the queries on and then the 'source' command to run them.

Something like this ..

mysql>source file.sql
Reply With Quote