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

July 6, 2018 98 views
MySQL Ubuntu 16.04

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

2 Answers

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

Have another answer? Share your knowledge.