1、启动报错
service mysqld start
Redirecting to /bin/systemctl start mysqld.service
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
2、查看日志
tailf -n 100 /var/log/mysqld.log
3、修改权限
chown mysql:mysql -R /var/lib/mysql
4、启动服务
systemctl start mysqld