Return to Snippet

Revision: 15119
at June 24, 2009 22:44 by hotdiggity

Initial Code
ssh use[email protected]
mysql -u username_db -p username_db < mysql_dump/db_to_be_imported.sql

Initial URL

Initial Description
Handy when web hosts limit database upload size. Create folder in home directory call "mysql_dump", upload and extract mysql file into this directory. Ask web host to enable SSH.

Initial Title
MySQL dump using SSH on Mac Terminal

Initial Tags
mysql, ssh, terminal

Initial Language