diff --git a/MySQL-tips.md b/MySQL-tips.md index d4ddd00..6122d68 100644 --- a/MySQL-tips.md +++ b/MySQL-tips.md @@ -67,6 +67,9 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]
  • [datadir]/my.cnf
  • ~/.my.cnf
  • +

    +
    +

    Import Export the content of the database

    >mysqldump -u user_name -p db_name > /path/exported_data.sql

    @@ -83,8 +86,10 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]

    >mysqldump -u root tempe > ~/tracks.sql

    +

    +
    +

    Import the SQL file

    -

    Sometimes it is required to drop all the table before the import, you need to check for your case.

    at the command line do