Report this

What is the reason for this report?

hello!! while installing SQL server i have encounter following errors

Posted on July 6, 2018

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

Thank you @jarland for your response. I’ll definitely try it!!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.