/ Published in: Bash

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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ssh username@domain.com.au mysql -u username_db -p username_db < mysql_dump/db_to_be_imported.sql
Comments
