From b35eb94d813f7c2ba79bd7391273f14952ea4fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BB=BFghost-from-the-past?= Date: Wed, 14 Apr 2021 13:12:43 +0200 Subject: [PATCH] Created Apache tips (markdown) --- Apache-tips.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Apache-tips.md diff --git a/Apache-tips.md b/Apache-tips.md new file mode 100644 index 0000000..e48854b --- /dev/null +++ b/Apache-tips.md @@ -0,0 +1,32 @@ +

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

+

+
+

+

for my installation /etc/mysql/my.cnf is a symbolic link to /etc/alternatives/my.cnf which is a symbolic link to /etc/mysql/mysql.cnf

+

so we need to edit the file /etc/mysql/mysql.cnf

+

add the following at the end of the file

+
+

[mysqld]

+

default_authentication_plugin=mysql_native_password

+
+

the group [mysqld] is for the server, for the client the group is [mysql]

+

(info http://dev.mysql.com/doc/mysql/en/server-system-variables.html +

+

+ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html )

+

+
+

+

possible places of the cnf file

+ \ No newline at end of file