Updated MySQL tips (markdown)

ghost-from-the-past 2021-04-15 16:16:21 +02:00
parent cdb9bb4185
commit 2daac77d38

@ -11,7 +11,7 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]
<p>
<br/>
</p>
<p>To enable or disable the automatic start of MySQL service when you boot your machine use</p>
<p>To enable or disable the automatic start of MySQL service when you boot your machine use</p>tmp/partkeepr
<blockquote>
<p>&gt;systemctl enable mysql</p>
<p>&gt;systemctl disable mysql</p>
@ -69,7 +69,7 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]
</ul>
<h3>Import Export the content of the database</h3>
<blockquote>
<p>&gt;mysqldump -u <strong>user_name</strong> -p <strong>db_name</strong> &gt; /tmp/partkeepr.sql</p>
<p>&gt;mysqldump -u <strong>user_name</strong> -p <strong>db_name</strong> &gt; /path/exported_data.sql</p>
</blockquote>
<p>set <strong>user_name</strong> and <strong>db_name</strong> accordingly.</p>
<p>e.g.</p>
@ -88,7 +88,7 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]
<p>Sometimes it is required to drop all the table before the import, you need to check for your case.</p>
<p>at the command line do</p>
<blockquote>
<p>&gt;mysql -u <strong>user_name</strong> -p <strong>db_name</strong> &lt; /tmp/partkeepr.sql</p>
<p>&gt;mysql -u <strong>user_name</strong> -p <strong>db_name</strong> &lt; /path/exported_data.sql</p>
</blockquote>
<p>e.g.</p>
<blockquote>