By Sudip
Job for mysql.service failed because the control process exited with error code. See “systemctl status mysql.service” and “journalctl -xe” for details. invoke-rc.d: initscript mysql, action “start” failed. ● mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since (null); 12ms ago Process: 8819 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE) dpkg: error processing package mysql-server-5.7 (–configure): subprocess installed post-installation script returned error exit status 1
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello friend!
I’m sorry for the trouble this is causing you. I’m afraid there isn’t much in that error to go on, but there is a path to find out more. These commands have the potential to reveal more information:
systemctl status mysql.service journalctl -xe
Generally I would run these and find an error that looks to be more specific, and then run it through Google while paying close attention to results from stackoverflow.com. You are, of course, welcome to share the output here as well. I cannot guarantee that I can take the output and turn it into steps to solve, but I’m happy to try. If I cannot, perhaps someone else here in the community can.
Kind Regards, Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.