1, becoming a root user
2, cd / usr / local / mysql / var
3. Change all the files and directories in the var directory to mysql users
Chown -r mysql.
4. Change all the files and directories in the var directory to mysql group
CHGRP -R mysql.
5, start the MySQLD process
/ usr / local / mysql / libexec / mysqld
6, ok!
7, test:
/ usr / local / mysql / bin / mysqlshow