开启服务出现问题 求大神解答
说我什么权限没打开
错误信息如下:
Starting MySQL SUCCESS!
[admin@localhost ~]$ /usr/bin/mysqld_safe: line 135: /var/lib/mysql/localhost.localdomain.err: Permission denied
cat: /var/lib/mysql/localhost.localdomain.pid: Permission denied
rm: cannot remove `/var/lib/mysql/localhost.localdomain.pid': Permission denied
210206 03:39:12 mysqld_safe Fatal error: Can't remove the pid file:
/var/lib/mysql/localhost.localdomain.pid.
Please remove the file manually and start /usr/bin/mysqld_safe again;
mysqld daemon not started
/usr/bin/mysqld_safe: line 135: /var/lib/mysql/localhost.localdomain.err: Permission denied