mysql not starting after removing plasma-desktop

The name of the pictureThe name of the pictureThe name of the pictureClash 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.










share|improve this question

























    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.










    share|improve this question























      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.










      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      Amarjit Singh

      18517




      18517




















          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





          share








          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.

















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            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






























            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





            share








            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.





















              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





              share








              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.



















                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





                share








                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






                share








                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.








                share


                share






                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.



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    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













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    List of Gilmore Girls characters

                    Confectionery