Can't change to run as user 'mysql' Please check that the user exists

Fatal error:Can't change to run as user 'mysql' Please check that the user exists

1)、创建mysql用户
useradd mysql
2)、mysql目录改为mysql读写权限
chown -R mysql:mysql /var/lib/mysql
chown -R mysql:mysql /usr/local/mysql

你可能感兴趣的:(mysql)