jeremyy44

New Member
Credits
189
Hi I keep getting this error while trying to either configure or even remove mysql-server-8.0 and cant seem to find anything online to help.
Even when I do 'sudo apt autoremove -y' I keep getting this error nothing seems to work.

Setting up mysql-server-8.0 (8.0.22-0ubuntu0.20.04.3) ...
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
update-alternatives: error: alternative path /etc/mysql/mysql.cnf doesn't exist
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
mysql-server-8.0
 


UnixSH

New Member
Credits
82
Hey, can you post your MySQL logs ? It should be more precise to help you. The default location is /var/log/mysql.log
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Latest posts

Top