4 ms·
> i think that is the fastest and best way to migrate a DB to a new server! Except that your mysql password is now in your history?
by softbuilder 16y ago
> i think that is the fastest and best way to migrate a DB to a new server!
Except that your mysql password is now in your history?
- IChrisI 16y agoIsn't this what history -d is for? I always delete passwords and important information from my bash history.
- mdwrigh2 16y agoJust put a space before you execute the command, then it doesn't get saved in history. Alternatively, delete it from your history file as the other commenter suggests.