mysql在linux云服务器里搭建好了,但是启动时报错,怎么解决
mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2021-06-29 19:54:33 CST; 1min 8s ago
Process: 1162790 ExecStopPost=/usr/libexec/mysql-wait-stop (code=exited, status=0/SUCCESS)
Process: 1162924 ExecStartPost=/usr/libexec/mysql-check-upgrade (code=exited, status=0/SUCCESS)
Process: 1162842 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mysqld.service (code=exited, status=0/SUCCESS)
Process: 1162817 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)
Main PID: 1162879 (mysqld)
Status: “Server is operational”
Tasks: 38 (limit: 11498)
Memory: 337.8M
CGroup: /system.slice/mysqld.service
└─1162879 /usr/libexec/mysqld --basedir=/usr
Jun 29 19:54:31 iZuf6639iymqeb0xdbr0raZ systemd[1]: Stopped MySQL 8.0 database server.
Jun 29 19:54:31 iZuf6639iymqeb0xdbr0raZ systemd[1]: Starting MySQL 8.0 database server…
Jun 29 19:54:33 iZuf6639iymqeb0xdbr0raZ systemd[1]: Started MySQL 8.0 database server.
[root@iZuf6639iymqeb0xdbr0raZ ~]# chkconfig --list |grep mysql
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.