3 ms·
Could use some refinement of results. For instance, I run "clf tar compress" and the results are all over the place. # Copy a MySQL Database to a new Serve
by relaytheurgency 12y ago
Could use some refinement of results. For instance, I run "clf tar compress" and the results are all over the place.
# Copy a MySQL Database to a new Server via SSH with one command
mysqldump --add-drop-table --extended-insert --force --log-error=error.log -uUSER -pPASS OLD_DB_NAME | ssh -C user@newhost "mysql -uUSER -pPASS NEW_DB_NAME"
That's the top result. That has nothing to do with tar or compression.
- mark_eijsermans 12y agoTo be fair, that's the result coming from commandlinefu.com itself.