MySQL Basics In Pictures
Back up databases
  1. Make sure the terminal window is open. If it's not, open it.
  2. Make sure you're logged out of the MySQL server.

    TIP: Give the \q; command.
  3. At the prompt, type:

    pwd

    then press ENTER.