pull down to refresh
are you on apache or nginx? can you share the specs of your server on cotabo? I should have ask earlier...
idk, how could I look it up 👀
deleted by author
is mysql still running?
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 autoclean
Then let's try to reinstall MySQLsudo apt-get updatesudo apt-get install mysql-server-8.0
Hopefully ithis succeeds! Verify with:sudo systemctl status mysql
deleted by author
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.sock
Then continue with reinstalling mysqlsudo apt-get updatesudo apt-get install mysql-server-8.0
And finger crossed will be running!sudo systemctl status mysql
deleted by author
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
deleted by author
is mysql running? sudo systemctl status mysql?
Let's also clean previous cloudpanel installation:sudo dpkg --remove --force-all cloudpanel
Thensudo apt-get install -fsudo dpkg --configure -a
to repair possible broken packages
and remove cpsudo rm -rf /etc/cloudpanel /opt/cloudpanel
are you on apache or nginx? can you share the specs of your server on cotabo? I should have ask earlier...
In the meantime, let's repair partially installed packages
sudo dpkg --configure -aFix broken dependencies
sudo apt-get install -fClean cached packages (optional)
sudo apt-get cleanRetry installing mysql-server (maybe not needed)
sudo apt-get install --reinstall mysql-server-8.0