systemctl启动mysqld.service无响应
Posted by: yu ji
Date: July 17, 2019 06:46PM
用yum安装的mysql,执行systemctl start mysqld.service一直没有返回结果,进程一直存在。
systemctl status mysqld.service 查询mysql其实已经启动了,/var/log/mysqld.log日志中有报错不知道怎么解决: [Warning] [MY-011807] [Server] Failed to connect to systemd notification socket named @/org/freedesktop/systemd1/notify. Error: 'No such file or directory'
完整日志如下:
2019-07-18T00:07:14.586285Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.16) initializing of server in progress as process 14022
2019-07-18T00:07:18.523939Z 5 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: :zig2qmgLTQ?
2019-07-18T00:07:19.199140Z 0 [System] [MY-013170] [Server] /usr/sbin/mysqld (mysqld 8.0.16) initializing of server has completed
2019-07-18T00:07:20.510070Z 0 [Warning] [MY-011807] [Server] Failed to connect to systemd notification socket named @/org/freedesktop/systemd1/notify. Error: 'No such file or directory'
2019-07-18T00:07:21.597484Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.16) starting as process 14071
2019-07-18T00:07:23.076420Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2019-07-18T00:07:23.152747Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.16' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server - GPL.
2019-07-18T00:07:23.327484Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/var/run/mysqld/mysqlx.sock' bind-address: '::' port: 33060