Today I updated MySql on the server. After the update, MySql started up and suddenly reported an error:
Then there are all kinds of Baidu, some say mysql directory permission is not given, some say the process already exists mysql and so on… Then I followed the experience of the big guys to try one by one, but, no effect! So toss about a morning, really have no way, finally reinstalled mysql. Thought this under the total should be good, there are any problems are reinstalled can not solve (proud). But as it turned out, I was still too young. Once again, he looks like the bird above!
If you look in the error directory, there is no hong.localdomain.pid. And then I hit on the idea, isn’t there a file called Hong.localdomain.pid?I copied a copy from my local computer, uploaded it to the server, and started mysql again. There you go! I kind of admire myself.
However, in order to be assured that I restart it again after mysql, ok, with reference to above, it is double Look again/WWW/wdLinux /mysql-5.5.27/var/ under hong. Localdomain. pid this file disappeared!
Calm down and think carefully, the file Hong.localdomain. pid actually records the PID of mysql installation, and the PID of my local mysql is definitely different from that of the server.
Edit /etc/init.d/mysql, find the start module, and add –user=root to mysqld_safe to

If you look in the error directory, there is no hong.localdomain.pid. And then I hit on the idea, isn’t there a file called Hong.localdomain.pid?I copied a copy from my local computer, uploaded it to the server, and started mysql again. There you go! I kind of admire myself.
However, in order to be assured that I restart it again after mysql, ok, with reference to above, it is double Look again/WWW/wdLinux /mysql-5.5.27/var/ under hong. Localdomain. pid this file disappeared!
Calm down and think carefully, the file Hong.localdomain. pid actually records the PID of mysql installation, and the PID of my local mysql is definitely different from that of the server.
Edit /etc/init.d/mysql, find the start module, and add –user=root to mysqld_safe to
Read More:
- Error getting authority: Error initializing authority: Could not connect: No such file or directory
- Eureka unit test error creating bean with name ‘Eureka autoservice registration’: Singleton bean
- Start failure: spawn CMD enoent error (How to Fix)
- Gog cannot link PSN: the connection to the server timed out
- docker load Error processing tar file(exit status 1): archive/tar: invalid tar header
- Error starting ApplicationContext. To display the auto-configuration report re-run your application
- Centos7 hive started to report an error. There is no route to the host. The firewall has been closed
- [619]libgtk-3.so.0 or libXt.so.6: cannot open shared object file: No such file or directory
- How to Fix Microsoft SQL Server Error 1326
- Net use Errors Explanation
- Mac installation tree command error solution
- Google Play googleapi: Error 403: Google Play Android Developer API has not been used in project
- NVM ERROR open \settings.txt: The system cannot find the file specified
- WordPress update failed 429 too many requests (How to Fix)
- How to Solve ERROR – unregister mbean error javax.management.InstanceNotFoundException: com.alibaba.druid:type=
- When starting Vue project: cannot find module ‘webpack cli / bin / config yargs’ error resolution
- Log separation using tool cronlog
- Error (active) e1696 cannot open source file “errno.H” rpgworld problems encountered in installing visual studio 2017
- Git fatal: No configured push destination. Either specify the URL from the command-line or co