mysqlを起動することができない
Q&A
Closed
解決したいこと
ubuntu20.04でmysqlのバージョン8.0.23を起動しようしたのですが下記のようなエラーが発生しました。
$ sudo systemctl start mysql
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
"$ sudo less /var/log/mysql/error.log"でログを調べたところ、
2021-02-04T06:51:08.411568Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.23-0ubuntu0.20.04.1) initializing of server in progress as process 399
2021-02-04T06:51:08.445731Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2021-02-04T06:51:08.480245Z 1 [ERROR] [MY-012585] [InnoDB] Linux Native AIO interface is not supported on this platform. Please check your OS documentation and
install appropriate binary of InnoDB.
2021-02-04T06:51:08.480730Z 1 [Warning] [MY-012654] [InnoDB] Linux Native AIO disabled.
2021-02-04T06:51:11.103598Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2021-02-04T06:51:14.689946Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2021-02-04T06:51:17.824004Z 6 [System] [MY-013172] [Server] Received SHUTDOWN from user boot. Shutting down mysqld (Version: 8.0.23-0ubuntu0.20.04.1).
2021-02-04T06:51:22.483862Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.23-0ubuntu0.20.04.1) starting as process 447
2021-02-04T06:51:22.713562Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2021-02-04T06:51:22.809947Z 1 [ERROR] [MY-012585] [InnoDB] Linux Native AIO interface is not supported on this platform. Please check your OS documentation and
install appropriate binary of InnoDB.
と出てきます。解決策を教えてください。
自分で試したこと
エラーの内容をググったのですがよくわかりませんでした。解決法を教えていただけるとうれしいです。
0