Closed CxistHans closed 4 months ago
chown -R 999:999
because:
[root@localhost data]# docker run -i mysql:8.4.0 id mysql
uid=999(mysql) gid=999(mysql) groups=999(mysql)
mysql.cnf
[client]
port = 3306
default-character-set = utf8mb4
[mysql]
port = 3306
default-character-set = utf8mb4
[mysqld]
#bind-address = 0.0.0.0
#port = 3306
max_connections = 10000
max_user_connections= 1000
#log
log_error=/var/log/mysql/mysql_error.log
general_log_file=/var/log/mysql/mysql.log
general_log=0
slow_query_log=1
slow_query_log_file=/var/log/mysql/mysql_slow.log
long_query_time=1
log_queries_not_using_indexes=0
##########################
# character set
##########################
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
same here
See #1056, #1058, and #1060, at least one of which this is definitely a duplicate of.
@tianon Try 8.4.0-oraclelinux8 and it does start successfully. But I would like to ask what is the difference from 8.4.0 tag? 8.4.0-oraclelinux8 is recommended for production use? via: https://github.com/docker-library/mysql/issues/1060#issuecomment-2108278310 https://github.com/docker-library/mysql/issues/1058#issuecomment-2105000516
8.4.0
in now equal to 8.4.0-oraclelinux9
. 8.4.0-oraclelinux8
will likely receive no further updates. Currently there is no plan to maintain both the Oracle Linux 8 and Oracle Linux 9 variants, just OL9. But that could change: https://github.com/docker-library/mysql/issues/1055#issuecomment-2099265909.
yaml
sh
mysql_errorlog
info
docker version: 20.10.8
cat /etc/os-release
NAME="openEuler" VERSION="22.09" ID="openEuler" VERSION_ID="22.09" PRETTY_NAME="openEuler 22.09" ANSI_COLOR="0;31"
cat /proc/version
Linux version 5.10.0-106.18.0.68.oe2209.x86_64 (abuild@obs-worker1639015616-x86-0017) (gcc_old (GCC) 10.3.1, GNU ld (GNU Binutils) 2.37) #1 SMP Wed Sep 28 07:03:00 UTC 2022