[QUOTE]
Вячеслав Румянцев написал:
Удалось решить проблему? У нас аналогичная с авторизацией
[/QUOTE]
Да. Удалось.Судя по всему, MySQL, который входит в состав CentOS 8, несколько "ущербный". Поэтому, подключайте репозиторий Mysql:[CODE]rpm -Uvh https://repo.mysql.com//mysql80-community-release-el8-1.noarch.rpm
[/CODE]А далее устанавливайте
[CODE]yum install mysql-server mysql-connector-odbc[/CODE]После того, как появится таблица устанавливаемых пакетов, проверьте, что mysql-server будет устанавливаться из репозитория mysql80-community. Если же он будет браться из репозитория AppStream, то конкретно запретите это:
[CODE]yum install mysql-server mysql-connector-odbc --disablerepo AppStream[/CODE]
После установки поправьте /etc/my.cnf
У меня он настроен следующим образом:
[CODE][mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove the leading "# " to disable binary logging
# Binary logging captures changes between backups and is enabled by
# default. It's default setting is log_bin=binlog
# disable_log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
#
# Remove leading # to revert to previous value for default_authentication_plugin,
# this will increase compatibility with older clients. For background, see:
# https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_p....
# default-authentication-plugin=mysql_native_password
user = mysql
datadir = /var/lib/mysql
socket = /var/lib/mysql/mysql.sock
port = 3306
bind-address = 127.0.0.1
log-error = /var/log/mysql/mysqld.log
pid-file = /var/run/mysqld/mysqld.pid
lc-messages-dir = /usr/share/mysql-8.0
skip-external-locking
#
# * Fine Tuning
#
key_buffer_size = 16M
max_allowed_packet = 33M
thread_stack = 192K
thread_cache_size = 8
myisam-recover-options = BACKUP
#query_cache_limit = 1M
#query_cache_size = 16M
log_error = /var/log/mysql/error.log
log_bin = 1
log_bin_trust_function_creators = 1
binlog_expire_logs_seconds = 864000
#expire_logs_days = 10
max_binlog_size = 100M
innodb_log_file_size = 100M
innodb_log_files_in_group = 2
skip-character-set-client-handshake
character-set-server = utf8
init-connect = 'SET NAMES utf8'
collation-server = utf8_general_ci
validate_password.length = 0
validate_password.mixed_case_count = 0
validate_password.number_count = 0
validate_password.policy = 0
validate_password.special_char_count = 0
default_password_lifetime = 0[/CODE]
После этого переходите к настройке безопасности MySQL и установке сервера ESMC.