mysql not starting after removing plasma-desktop
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I know there are many questions regarding mysql not starting. I've tried following things
Checking MySQL error log — error reading '/var/log/mysql': Is a directory
Check /var/log/dist-upgrade/apt.log
file for broken packages again no such file or directory
Remove MySQL-server and reinstall it But it's not getting uninstalled at all
this problem occurred when I uninstalled "plasma-desktop". I used following commands to remove "plasma-desktop" and related packages.
sudo apt-get purge '^kde' '^kubuntu' '^plasma'
sudo apt-get remove plasma-desktop
sudo apt-get autoremove
There was no error produced by the above three commands.
apt package-management dpkg mysql kde
add a comment |Â
up vote
3
down vote
favorite
I know there are many questions regarding mysql not starting. I've tried following things
Checking MySQL error log — error reading '/var/log/mysql': Is a directory
Check /var/log/dist-upgrade/apt.log
file for broken packages again no such file or directory
Remove MySQL-server and reinstall it But it's not getting uninstalled at all
this problem occurred when I uninstalled "plasma-desktop". I used following commands to remove "plasma-desktop" and related packages.
sudo apt-get purge '^kde' '^kubuntu' '^plasma'
sudo apt-get remove plasma-desktop
sudo apt-get autoremove
There was no error produced by the above three commands.
apt package-management dpkg mysql kde
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I know there are many questions regarding mysql not starting. I've tried following things
Checking MySQL error log — error reading '/var/log/mysql': Is a directory
Check /var/log/dist-upgrade/apt.log
file for broken packages again no such file or directory
Remove MySQL-server and reinstall it But it's not getting uninstalled at all
this problem occurred when I uninstalled "plasma-desktop". I used following commands to remove "plasma-desktop" and related packages.
sudo apt-get purge '^kde' '^kubuntu' '^plasma'
sudo apt-get remove plasma-desktop
sudo apt-get autoremove
There was no error produced by the above three commands.
apt package-management dpkg mysql kde
I know there are many questions regarding mysql not starting. I've tried following things
Checking MySQL error log — error reading '/var/log/mysql': Is a directory
Check /var/log/dist-upgrade/apt.log
file for broken packages again no such file or directory
Remove MySQL-server and reinstall it But it's not getting uninstalled at all
this problem occurred when I uninstalled "plasma-desktop". I used following commands to remove "plasma-desktop" and related packages.
sudo apt-get purge '^kde' '^kubuntu' '^plasma'
sudo apt-get remove plasma-desktop
sudo apt-get autoremove
There was no error produced by the above three commands.
apt package-management dpkg mysql kde
apt package-management dpkg mysql kde
asked 1 hour ago
Amarjit Singh
18517
18517
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
First get into super user mode by using command sudo -i
then use following commands
apt-get purge mysql*
rm -rf /var/lib/mysql
rm -rf /etc/mysql
dpkg -l | grep -i mysql
apt-get clean
apt-get aut
updatedb
apt-get remove --purge mysql-server mysql-common
Now reinstall MYSQL
apt-get -f install -o Dpkg::Options::="--force-overwrite" mysql-server
New contributor
Satinder Bajwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
First get into super user mode by using command sudo -i
then use following commands
apt-get purge mysql*
rm -rf /var/lib/mysql
rm -rf /etc/mysql
dpkg -l | grep -i mysql
apt-get clean
apt-get aut
updatedb
apt-get remove --purge mysql-server mysql-common
Now reinstall MYSQL
apt-get -f install -o Dpkg::Options::="--force-overwrite" mysql-server
New contributor
Satinder Bajwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
2
down vote
accepted
First get into super user mode by using command sudo -i
then use following commands
apt-get purge mysql*
rm -rf /var/lib/mysql
rm -rf /etc/mysql
dpkg -l | grep -i mysql
apt-get clean
apt-get aut
updatedb
apt-get remove --purge mysql-server mysql-common
Now reinstall MYSQL
apt-get -f install -o Dpkg::Options::="--force-overwrite" mysql-server
New contributor
Satinder Bajwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
First get into super user mode by using command sudo -i
then use following commands
apt-get purge mysql*
rm -rf /var/lib/mysql
rm -rf /etc/mysql
dpkg -l | grep -i mysql
apt-get clean
apt-get aut
updatedb
apt-get remove --purge mysql-server mysql-common
Now reinstall MYSQL
apt-get -f install -o Dpkg::Options::="--force-overwrite" mysql-server
New contributor
Satinder Bajwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
First get into super user mode by using command sudo -i
then use following commands
apt-get purge mysql*
rm -rf /var/lib/mysql
rm -rf /etc/mysql
dpkg -l | grep -i mysql
apt-get clean
apt-get aut
updatedb
apt-get remove --purge mysql-server mysql-common
Now reinstall MYSQL
apt-get -f install -o Dpkg::Options::="--force-overwrite" mysql-server
New contributor
Satinder Bajwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Satinder Bajwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 8 mins ago


Satinder Bajwa
362
362
New contributor
Satinder Bajwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Satinder Bajwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Satinder Bajwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1077405%2fmysql-not-starting-after-removing-plasma-desktop%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password