awsのlinuxでmysqlを起動させようとしているんですができません
何度も削除してインストールしたのですが
command
1[ec2-user@ip-10-0-0-24 ~]$ sudo service mysqld start 2Redirecting to /bin/systemctl start mysqld.service 3Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
ちなみにログには
command
12021-08-28T15:52:09.297120Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main 22021-08-28T15:52:09.297274Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main 32021-08-28T15:52:09.298230Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 42021-08-28T15:52:09.298405Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 52021-08-28T15:52:09.305039Z 0 [ERROR] [MY-010147] [Server] Too many arguments (first extra is '”–skip-grant-tables”'). 62021-08-28T15:52:09.305635Z 0 [ERROR] [MY-010119] [Server] Aborting
Too many arguments ってことはどこかに余計なことが書かれているんですかね
どんな原因が考えられますか?
追記
command
1[ec2-user@ip-10-0-0-24 ~]$ journalctl -xe 2Aug 28 20:28:16 ip-10-0-0-24.ap-northeast-1.compute.internal sudo[30815]: ec2-user : TTY=pts/3 ; PWD=/home/ec2-user ; USER=root ; COMMAND=/sbin/service mysqld start 3Aug 28 20:28:16 ip-10-0-0-24.ap-northeast-1.compute.internal sudo[30815]: pam_unix(sudo:session): session opened for user root by ec2-user(uid=0) 4Aug 28 20:28:16 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: Starting MySQL Server... 5-- Subject: Unit mysqld.service has begun start-up 6-- Defined-By: systemd 7-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 8-- 9-- Unit mysqld.service has begun starting up. 10Aug 28 20:28:18 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE 11Aug 28 20:28:18 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: Failed to start MySQL Server. 12-- Subject: Unit mysqld.service has failed 13-- Defined-By: systemd 14-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 15-- 16-- Unit mysqld.service has failed. 17-- 18-- The result is failed. 19Aug 28 20:28:18 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: Unit mysqld.service entered failed state. 20Aug 28 20:28:18 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: mysqld.service failed. 21Aug 28 20:28:18 ip-10-0-0-24.ap-northeast-1.compute.internal sudo[30815]: pam_unix(sudo:session): session closed for user root
command
1[ec2-user@ip-10-0-0-24 ~]$ systemctl status mysqld.service 2● mysqld.service - MySQL Server 3 Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled) 4 Active: failed (Result: exit-code) since Sat 2021-08-28 20:28:18 UTC; 57min ago 5 Docs: man:mysqld(8) 6 http://dev.mysql.com/doc/refman/en/using-systemd.html 7 Process: 30852 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS (code=exited, status=1/FAILURE) 8 Process: 30829 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS) 9 Main PID: 30852 (code=exited, status=1/FAILURE) 10 Status: "Server startup in progress" 11 12Aug 28 20:28:16 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: Starting MySQL Server... 13Aug 28 20:28:18 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE 14Aug 28 20:28:18 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: Failed to start MySQL Server. 15Aug 28 20:28:18 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: Unit mysqld.service entered failed state. 16Aug 28 20:28:18 ip-10-0-0-24.ap-northeast-1.compute.internal systemd[1]: mysqld.service failed.
あなたの回答
tips
プレビュー