2022-07-06 08:03:28+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.38-1.el7 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2022-07-06T08:03:29.157053Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2022-07-06T08:03:29.161651Z 0 [Note] mysqld (mysqld 5.7.38) starting as process 1 ...
2022-07-06T08:03:29.168147Z 0 [Warning] One can only use the --user switch if running as root
2022-07-06T08:03:29.168887Z 0 [ERROR] Could not open file '/var/log/mysqld.log' for error logging: Permission denied
2022-07-06T08:03:29.168947Z 0 [ERROR] Aborting
2022-07-06T08:03:29.168986Z 0 [Note] Binlog end
2022-07-06T08:03:29.171251Z 0 [Note] mysqld: Shutdown complete
0
3
Rzuca mi się w oczy tylko ten błąd.
2022-07-06T08:03:29.168887Z 0 [ERROR] Could not open file '/var/log/mysqld.log' for error logging: Permission denied
prawdopodobnie mysql server nie ma uprawnień odpowiednich, żeby zapisać jakiegoś loga do tego pliku mysqld.log.