Posted By

TheJasonParker on 01/25/11


Tagged

linux


Versions (?)

Excuting sql files from Linux shell


 / Published in: MySQL
 

Ftp your *.sql file to the (remote) machine, login via SSH and then go to the directory where your sql file is and run this code.

  1. mysql <my_db_name> -u<user_name> -p<password> <mysql.sql

Report this snippet  

You need to login to post a comment.