/etc/my.cnf.d/mysql-default-authentication-plugin.cnf - CentOS Linux 8

This is the default example configuration of mysql-default-authentication-plugin.cnf provided by MySQL. This config file was generated by MySQL running on CentOS 8.

It is located under: /etc/my.cnf.d/mysql-default-authentication-plugin.cnf

    #
# MySQL 8.0.4 introduced 'caching_sha2_password' as its default authentication plugin.
# It is faster and provides better security then the previous default authentication plugin.
#
# Until now (09/2018), it does not work with some other software (eg. MariaDB client, MariaDB connectors,  ...)
#
# This configuration file changes MySQL default server configuration, so it behaves the same way as in MySQL 5.7.
#
# To change the behaviour back to the upstream default, comment out the following lines:

[mysqld]
default_authentication_plugin=mysql_native_password

    
  

Config Details

Location
/etc/my.cnf.d/mysql-default-authentication-plugin.cnf
Operating system
CentOS Linux 8
Length
12 lines
MD5 checksum
12303e5f53e818ee4ae150674c8f70fc

Usage

Download the raw file with wget or curl

Wget

wget -O mysql-default-authentication-plugin.cnf.example http://exampleconfig.com/static/raw/mysql/centos8/etc/my.cnf.d/mysql-default-authentication-plugin.cnf

cURL

curl http://exampleconfig.com/static/raw/mysql/centos8/etc/my.cnf.d/mysql-default-authentication-plugin.cnf > mysql-default-authentication-plugin.cnf.example