mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Updated MySQL tips (markdown)
parent
cc1a54267c
commit
7c519bb995
1 changed files with 6 additions and 1 deletions
|
|
@ -67,6 +67,9 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]
|
||||||
<li>[datadir]/my.cnf</li>
|
<li>[datadir]/my.cnf</li>
|
||||||
<li>~/.my.cnf</li>
|
<li>~/.my.cnf</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<p>
|
||||||
|
<br/>
|
||||||
|
</p>
|
||||||
<h3>Import Export the content of the database</h3>
|
<h3>Import Export the content of the database</h3>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>>mysqldump -u <strong>user_name</strong> -p <strong>db_name</strong> > /path/exported_data.sql</p>
|
<p>>mysqldump -u <strong>user_name</strong> -p <strong>db_name</strong> > /path/exported_data.sql</p>
|
||||||
|
|
@ -83,8 +86,10 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>>mysqldump -u root tempe > ~/tracks.sql</p>
|
<p>>mysqldump -u root tempe > ~/tracks.sql</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
<p>
|
||||||
|
<br/>
|
||||||
|
</p>
|
||||||
<h3>Import the SQL file</h3>
|
<h3>Import the SQL file</h3>
|
||||||
<br/>
|
|
||||||
<p>Sometimes it is required to drop all the table before the import, you need to check for your case.</p>
|
<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>
|
<p>at the command line do</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue