MySQL Forums
Forum List  »  Install & Repo

Re: Trying to install MySQL on Ubuntu 18.04
Posted by: Peter Brawley
Date: September 10, 2019 01:22PM

It aopears you had a version of MySQL installed, then tried to install over it.

By now though, there appears to be too big a mess. Try uninstalling everything related to mysql, eg ...

sudo -i
service mysql stop
killall -KILL mysql mysqld_safe mysqld
apt-get --yes purge mysql-server mysql-client
apt-get --yes autoremove --purge
apt-get autoclean
deluser --remove-home mysql
delgroup mysql
rm -rf /etc/apparmor.d/abstractions/mysql /etc/apparmor.d/cache/usr.sbin.mysqld /etc/mysql /var/lib/mysql /var/log/mysql* /var/log/upstart/mysql.log* /var/run/mysqld
updatedb
sudo find / -name .mysql_history -delete

Then install 5.7 server & client, and make sure it's running without error before installing workbench.

Options: ReplyQuote


Subject
Written By
Posted
Re: Trying to install MySQL on Ubuntu 18.04
September 10, 2019 01:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.