Jump to content

import mysql


mapleleaf

Recommended Posts

mysql < file.sql

 

That will execute all SQL commands in file.sql.  (Just be careful because you won't get any warnings about any "drop" commands)

 

If you're sql file doesn't have the drop commands in it, you might need to do that manually.  Depends on how the dump was created that you're importing.

Link to comment
https://forums.phpfreaks.com/topic/200567-import-mysql/#findComment-1052556
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.