# cat /var/log/message Jun 14 08:17:47 lelabo92-169144 systemd: Stopped MySQL Server. Jun 14 08:17:47 lelabo92-169144 systemd: Starting MySQL Server... Jun 14 08:17:48 lelabo92-169144 mysqld_pre_systemd: /usr/sbin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory Jun 14 08:17:48 lelabo92-169144 mysqld: /usr/sbin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory Jun 14 08:17:48 lelabo92-169144 systemd: mysqld.service: main process exited, code=exited, status=127/n/a Jun 14 08:17:48 lelabo92-169144 systemd: Failed to start MySQL Server.
** 해결방법 **
필요 패키지 설치
# yum install libaio
** 오류발생 3 **
데몬 시작 시 mysqld.log 에서 아래와 같이 확인
# cat /var/log/mysqld.log 2022-06-13T23:20:41.689168Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory. 2022-06-13T23:20:41.689346Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed. 2022-06-13T23:20:41.689397Z 0 [ERROR] [MY-010119] [Server] Aborting