diff --git a/plugins/mysql/conf/my8.0.cnf b/plugins/mysql/conf/my8.0.cnf index ba4f80364..c3232898a 100644 --- a/plugins/mysql/conf/my8.0.cnf +++ b/plugins/mysql/conf/my8.0.cnf @@ -10,7 +10,7 @@ default-character-set = UTF8MB4 sha256_password_private_key_path={$SERVER_APP_PATH}/data/mysql.pem sha256_password_public_key_path={$SERVER_APP_PATH}/data/mysql.pub -authentication_policy=mysql_native_password +authentication_policy=caching_sha2_password pid-file = {$SERVER_APP_PATH}/data/mysql.pid user = mysql @@ -20,7 +20,7 @@ basedir = {$SERVER_APP_PATH} datadir = {$SERVER_APP_PATH}/data log-error = {$SERVER_APP_PATH}/data/error.log server-id = {$SERVER_ID} -sql-mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES +#sql-mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES default_storage_engine = InnoDB @@ -48,7 +48,6 @@ skip_name_resolve=1 #skip-grant-tables log-bin=mysql-bin -binlog_format=mixed slow_query_log=1 slow-query-log-file={$SERVER_APP_PATH}/data/mysql-slow.log long_query_time=10 @@ -84,8 +83,6 @@ replicate-ignore-db = performance_schema replicate-ignore-db = mysql replicate-ignore-db = test -master_info_repository = table -relay_log_info_repository = table innodb_data_home_dir = {$SERVER_APP_PATH}/data innodb_data_file_path = ibdata1:10M:autoextend