Failed to start mysql.service: Unit mysql.service not found [duplicate]











up vote
0
down vote

favorite













This question already has an answer here:




  • How do I start the MySQL console in XAMPP?

    7 answers




Today Xampp suddenly stopped working.



When I try to start xampp, then mysql is not running:



enter image description here



After browsing for this issue, I found that




sudo service mysql start




should solve it. However, this casuses the error mentioned in the subject line:




Failed to start mysql.service: Unit mysql.service not found.




What happend and how to fix it? I tried to restart my device but the problem remains.










share|improve this question













marked as duplicate by karel, Eric Carvalho, Fabby, George Udosen, Tom Brossman Nov 24 at 15:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • mysql server start failed may help.
    – Hobbyist
    Nov 23 at 12:38










  • Have you tried launching GUI of XAMPP and starting it from there?
    – Kulfy
    Nov 23 at 13:30















up vote
0
down vote

favorite













This question already has an answer here:




  • How do I start the MySQL console in XAMPP?

    7 answers




Today Xampp suddenly stopped working.



When I try to start xampp, then mysql is not running:



enter image description here



After browsing for this issue, I found that




sudo service mysql start




should solve it. However, this casuses the error mentioned in the subject line:




Failed to start mysql.service: Unit mysql.service not found.




What happend and how to fix it? I tried to restart my device but the problem remains.










share|improve this question













marked as duplicate by karel, Eric Carvalho, Fabby, George Udosen, Tom Brossman Nov 24 at 15:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • mysql server start failed may help.
    – Hobbyist
    Nov 23 at 12:38










  • Have you tried launching GUI of XAMPP and starting it from there?
    – Kulfy
    Nov 23 at 13:30













up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:




  • How do I start the MySQL console in XAMPP?

    7 answers




Today Xampp suddenly stopped working.



When I try to start xampp, then mysql is not running:



enter image description here



After browsing for this issue, I found that




sudo service mysql start




should solve it. However, this casuses the error mentioned in the subject line:




Failed to start mysql.service: Unit mysql.service not found.




What happend and how to fix it? I tried to restart my device but the problem remains.










share|improve this question














This question already has an answer here:




  • How do I start the MySQL console in XAMPP?

    7 answers




Today Xampp suddenly stopped working.



When I try to start xampp, then mysql is not running:



enter image description here



After browsing for this issue, I found that




sudo service mysql start




should solve it. However, this casuses the error mentioned in the subject line:




Failed to start mysql.service: Unit mysql.service not found.




What happend and how to fix it? I tried to restart my device but the problem remains.





This question already has an answer here:




  • How do I start the MySQL console in XAMPP?

    7 answers








mysql xampp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 23 at 12:32









Adam

237320




237320




marked as duplicate by karel, Eric Carvalho, Fabby, George Udosen, Tom Brossman Nov 24 at 15:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by karel, Eric Carvalho, Fabby, George Udosen, Tom Brossman Nov 24 at 15:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • mysql server start failed may help.
    – Hobbyist
    Nov 23 at 12:38










  • Have you tried launching GUI of XAMPP and starting it from there?
    – Kulfy
    Nov 23 at 13:30


















  • mysql server start failed may help.
    – Hobbyist
    Nov 23 at 12:38










  • Have you tried launching GUI of XAMPP and starting it from there?
    – Kulfy
    Nov 23 at 13:30
















mysql server start failed may help.
– Hobbyist
Nov 23 at 12:38




mysql server start failed may help.
– Hobbyist
Nov 23 at 12:38












Have you tried launching GUI of XAMPP and starting it from there?
– Kulfy
Nov 23 at 13:30




Have you tried launching GUI of XAMPP and starting it from there?
– Kulfy
Nov 23 at 13:30










1 Answer
1






active

oldest

votes

















up vote
0
down vote













sudo service mysql start


This command starts the daemon of mysql if the script to start the daemon is in /etc/init.d
But you installed mysql by xampp.
So I think it is not there.
Please find and invoke the daemon.






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    sudo service mysql start


    This command starts the daemon of mysql if the script to start the daemon is in /etc/init.d
    But you installed mysql by xampp.
    So I think it is not there.
    Please find and invoke the daemon.






    share|improve this answer



























      up vote
      0
      down vote













      sudo service mysql start


      This command starts the daemon of mysql if the script to start the daemon is in /etc/init.d
      But you installed mysql by xampp.
      So I think it is not there.
      Please find and invoke the daemon.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        sudo service mysql start


        This command starts the daemon of mysql if the script to start the daemon is in /etc/init.d
        But you installed mysql by xampp.
        So I think it is not there.
        Please find and invoke the daemon.






        share|improve this answer














        sudo service mysql start


        This command starts the daemon of mysql if the script to start the daemon is in /etc/init.d
        But you installed mysql by xampp.
        So I think it is not there.
        Please find and invoke the daemon.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 24 at 7:15

























        answered Nov 23 at 12:40









        MR.ROBOT

        11




        11















            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents