AWS EC2(linux2)を使ってデプロイを試みているのですが、その作業中にMySQLが起動できなくて先に進めません。
mariadbはすでにアンインストールしていてMySQLはインストール済みです。
$sudo service mysqld start #コマンドを打つと Redirecting to /bin/systemctl start mysqld.service $sudo vi /var/log/mysqld.log #ログを調べる 2020-10-31T07:20:58.905937Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.22) initializing of server in progress as process 18007 2020-10-31T07:20:58.959118Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2020-10-31T07:20:59.599653Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2020-10-31T07:21:00.863369Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: Kmneuk<!q7kl 2020-10-31T07:21:04.390465Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.22) starting as process 18051 2020-10-31T07:21:04.401045Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2020-10-31T07:21:04.683341Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2020-10-31T07:21:04.827747Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock 2020-10-31T07:21:04.966271Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2020-10-31T07:21:04.966480Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2020-10-31T07:21:04.998575Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.22' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server - GPL.
ログを見てもこの後に何をすれば良いのかわかりません。
どうすればMySQLは起動するのでしょうか?
回答1件
あなたの回答
tips
プレビュー