Solution to Mysql problems in Hive

1. When starting MySQL service, report MySQL Server PID file could not be found

Solution: Create in the /var/lock/subsys/mysql path: ip+.pid of the node where mysql is located (for example, linux1.pid), and add 4396 to the file

2. Report service mysql status MySQL is not running, but lock file(/var/lock/subsys/mysql[Failure]) is abnormal

Solution: Create in the /var/lib/mysql directory:: ip+.pid of the node where mysql is located (for example, linux1.pid), and modify the file permissions to 777

Guess you like

Origin blog.csdn.net/QJQJLOVE/article/details/108658643