koel/docker

MySQL does not work

2213500360 opened this issue · 0 comments

Since my system is arm, it seems that sql5.7 does not support it. The following error is prompted:
standard_init_linux.go:219: exec user process caused "exec format error"

So I changed to the sql8.0 version, but it seems that there is a permission problem. I don't know how to solve it:
`2022-12-04T06:32:31.687039Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

2022-12-04T06:32:31.687463Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.31) starting as process 1
mysqld: File './binlog.index' not found (OS errno 13 - Permission denied)

2022-12-04T06:32:31.690888Z 0 [ERROR] [MY-010119] [Server] Aborting

2022-12-04T06:32:31.690982Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.31) MySQL Community Server - GPL.
`