diff --git a/MySQL-tips.md b/MySQL-tips.md index a3e20cf..cc4498f 100644 --- a/MySQL-tips.md +++ b/MySQL-tips.md @@ -11,7 +11,7 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]


-

To enable or disable the automatic start of MySQL service when you boot your machine use

+

To enable or disable the automatic start of MySQL service when you boot your machine use

tmp/partkeepr

>systemctl enable mysql

>systemctl disable mysql

@@ -69,7 +69,7 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]

Import Export the content of the database

-

>mysqldump -u user_name -p db_name > /tmp/partkeepr.sql

+

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

set user_name and db_name accordingly.

e.g.

@@ -88,7 +88,7 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]

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

at the command line do

-

>mysql -u user_name -p db_name < /tmp/partkeepr.sql

+

>mysql -u user_name -p db_name < /path/exported_data.sql

e.g.