Updated MySQL tips (markdown)

ghost-from-the-past 2021-04-21 22:15:20 +02:00
parent b3899308ea
commit 765d0bb899

@ -47,6 +47,9 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]
<blockquote>
&gt;mysql -u <em> <strong>user_name</strong> </em> -p<br/>
</blockquote>
<p>
<br/>
</p>
<h3>MySQL - change the default of default_authentication_plugin</h3>
<p>since Mysql version 8.0 the default values has been changed from mysql_native_password to caching_sha2_password</p>
<p>this needs to be reverted in the cnf file</p>
@ -108,6 +111,9 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]
<blockquote>
<p>&gt;mysql -u daniel -p tempe &lt; ~/tracks.sql</p>
</blockquote>
<p>
<br/>
</p>
<h3>Assign privileges for a user on a database</h3>
<p> <a href="https://dev.mysql.com/doc/refman/8.0/en/grant.html#grant-privileges">refman/8.0/ grant-privileges</a></p>
<p>These are examples on how to grant some privileges</p>