Hi @thewahome
Thanks for using Bitnami LAMP!
I have been checking the report produced by the bnsupport-tool
and it seems this might be due to some permission problems:
2021-02-19T13:25:58.895489Z 0 [System] [MY-010910] [Server] /opt/bitnami/mysql/bin/mysqld.bin: Shutdown complete (mysqld 8.0.18) MySQL Community Server - GPL.
2021-02-19T13:27:58.930308Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2021-02-19T13:27:58.930425Z 0 [System] [MY-010116] [Server] /opt/bitnami/mysql/bin/mysqld.bin (mysqld 8.0.18) starting as process 3301
mysqld.bin: Can't create/write to file '/opt/bitnami/mysql/tmp/ibdTiLMk' (OS errno 13 - Permission denied)
2021-02-19T13:27:58.961053Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file; errno: 2
2021-02-19T13:27:58.961133Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2021-02-19T13:27:58.961207Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2021-02-19T13:27:58.963221Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2021-02-19T13:27:58.963342Z 0 [ERROR] [MY-010119] [Server] Aborting
Have you performed any modifications to the file structure lately? I can see that the mysql/tmp
directory's ownership is set to root:root
.
Could you please execute the following commands and try restarting the services again?
$ sudo chown -R mysql:mysql /opt/bitnami/mysql/tmp
$ sudo mkdir /opt/bitnami/mysql/logs
$ sudo chown -R mysql:mysql /opt/bitnami/mysql/logs
Best regards,
Jose Antonio Carmona
Was my answer helpful? Click on 