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










New contributor




MR.ROBOT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    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










    New contributor




    MR.ROBOT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      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










      New contributor




      MR.ROBOT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















        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










        New contributor




        MR.ROBOT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        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










        New contributor




        MR.ROBOT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer








        edited Nov 24 at 7:15





















        New contributor




        MR.ROBOT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered Nov 23 at 12:40









        MR.ROBOT

        11




        11




        New contributor




        MR.ROBOT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        MR.ROBOT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        MR.ROBOT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.















            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido