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!

loading in sql commands

Status
Not open for further replies.

djam

Technical User
Nov 15, 2002
223
CA
How would I load in a file with sql commands in it? What do I need to call the file?


thanks

" ahhh computers, how they made our lives much simpler ;) "
 
I require a password to login to the database, this is what I'm doing:

mysql -u databasename -p < mysqlfile

it's not correct, can anyone give me some advice


thanks

&quot; ahhh computers, how they made our lives much simpler ;) &quot;
 
ahh.... got it

mysql -u yourusername -D databasename -p < mysqlfile

thanks for your help

&quot; ahhh computers, how they made our lives much simpler ;) &quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top