Jump to content

mysql import


c_pattle

Recommended Posts

I have a .sql file that has lots of sql commands in it.  What I want to do is then run all of these commands on a database.  I was just wondering what the best approach would be.  Is there a way to import the file or am I best opening the file, reading each line and then performing that query?

 

Thanks for any help. 

Link to comment
https://forums.phpfreaks.com/topic/261406-mysql-import/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.