In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly tells you how to solve the problem that you can't start mysql under linux. You can check the relevant professional terms on the Internet or find some related books to supplement them. We won't dabble here, so let's go straight to the topic. I hope this article can bring you some practical help if you can't start mysql under linux.
No matter what problems you find, first check the err log.
Question 1:
Query the err log to show permission issues.
Analysis: mysql originally belongs to the mysql user, if you start under the root user, there may be problems.
Resolve:
(1) View the permissions of mysql
(2) found that there is root authority, confusion. So change it to mysql permission first
Recommended video tutorials: linux video tutorials
(3) restart and view the process
Question 2:
When you change the mysql password, you find that the mysql service is running normally, but when you log in, you are prompted: ERROR! MySQL is running but PID file could not be found
Resolve:
(1) check the running status of the database:
Service mysql status
Prompt ERROR! MySQL is running but PID file could not be found
(2) print MYSQL process
Ps aux | grep mysql
(3) KILL process:
Kill-9 pid
That is,
Kill-9 9525
Start MYSQL again:
Service mysql start
Check the running status of mysql again:
Service mysql status
Prompt for successful OK
(4) change the password
Linux can not start mysql how to solve the first to tell you here, for other related issues you want to know can continue to pay attention to our industry information. Our section will capture some industry news and professional knowledge to share with you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 273
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.