diff --git a/MySQL-tips.md b/MySQL-tips.md index d4e958c..600cd77 100644 --- a/MySQL-tips.md +++ b/MySQL-tips.md @@ -47,6 +47,9 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]
>mysql -u user_name -p
+

+
+

MySQL - change the default of default_authentication_plugin

since Mysql version 8.0 the default values has been changed from mysql_native_password to caching_sha2_password

this needs to be reverted in the cnf file

@@ -108,6 +111,9 @@ This tips were prepared for [[Install Tracks 2.5 on Ubuntu 20.10]]

>mysql -u daniel -p tempe < ~/tracks.sql

+

+
+

Assign privileges for a user on a database

refman/8.0/ grant-privileges

These are examples on how to grant some privileges