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

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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

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 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