pull down to refresh
deleted by author
reply
it's ok, this is really testing my knowledge on server maintenance though 😅
Let's force it!
sudo apt-get purge mysql-* mariadb-*
sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysql /tmp/mysql.sockThen continue with reinstalling mysql
sudo apt-get update
sudo apt-get install mysql-server-8.0And finger crossed will be running!
sudo systemctl status mysqlreply
deleted by author
reply
Such relief... great! btw, maybe previous database now lost. But I assume you have still a backup/snapshot from the initial state.
Let's try again with cloudPanel
reply
deleted by author
reply
is mysql running?
sudo systemctl status mysql?Let's also clean previous cloudpanel installation:
sudo dpkg --remove --force-all cloudpanelThen
sudo apt-get install -f
sudo dpkg --configure -a
to repair possible broken packagesand remove cp
sudo rm -rf /etc/cloudpanel /opt/cloudpanelreply
no, it's inactive; and curious how to active it again?
reply
sudo systemctl start mysql
sudo systemctl stop mysqlsudo apt-get purge mysql-server-8.0 mysql-client mysql-common mysql-server-core-8.0sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysqlsudo apt-get autoremovesudo apt-get autocleansudo apt-get updatesudo apt-get install mysql-server-8.0sudo systemctl status mysql