mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +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>~/.my.cnf</li>
|
||||
</ul>
|
||||
<p>
|
||||
<br/>
|
||||
</p>
|
||||
<h3>Import Export the content of the database</h3>
|
||||
<blockquote>
|
||||
<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>
|
||||
<p>>mysqldump -u root tempe > ~/tracks.sql</p>
|
||||
</blockquote>
|
||||
<p>
|
||||
<br/>
|
||||
</p>
|
||||
<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>at the command line do</p>
|
||||
<blockquote>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue