Unable to start mysql in ubuntu 18.04.02












0















pc-050@pc050:~$ service mysql start
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
pc-050@pc050:~$ systemctl status mysql.service
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2019-02-28 16:36:10 IST; 3s ago
Process: 3826 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)

Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
Feb 28 16:36:10 pc050 systemd[1]: Stopped MySQL Community Server.
Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Start request repeated too quickly.
Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Failed with result 'exit-code'.
Feb 28 16:36:10 pc050 systemd[1]: Failed to start MySQL Community Server.
pc-050@pc050:~$









share|improve this question





























    0















    pc-050@pc050:~$ service mysql start
    Job for mysql.service failed because the control process exited with error code.
    See "systemctl status mysql.service" and "journalctl -xe" for details.
    pc-050@pc050:~$ systemctl status mysql.service
    ● mysql.service - MySQL Community Server
    Loaded: loaded (/lib/systemd/system/mysql.service; disabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Thu 2019-02-28 16:36:10 IST; 3s ago
    Process: 3826 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)

    Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
    Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
    Feb 28 16:36:10 pc050 systemd[1]: Stopped MySQL Community Server.
    Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Start request repeated too quickly.
    Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Failed with result 'exit-code'.
    Feb 28 16:36:10 pc050 systemd[1]: Failed to start MySQL Community Server.
    pc-050@pc050:~$









    share|improve this question



























      0












      0








      0


      0






      pc-050@pc050:~$ service mysql start
      Job for mysql.service failed because the control process exited with error code.
      See "systemctl status mysql.service" and "journalctl -xe" for details.
      pc-050@pc050:~$ systemctl status mysql.service
      ● mysql.service - MySQL Community Server
      Loaded: loaded (/lib/systemd/system/mysql.service; disabled; vendor preset: enabled)
      Active: failed (Result: exit-code) since Thu 2019-02-28 16:36:10 IST; 3s ago
      Process: 3826 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)

      Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
      Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
      Feb 28 16:36:10 pc050 systemd[1]: Stopped MySQL Community Server.
      Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Start request repeated too quickly.
      Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Failed with result 'exit-code'.
      Feb 28 16:36:10 pc050 systemd[1]: Failed to start MySQL Community Server.
      pc-050@pc050:~$









      share|improve this question
















      pc-050@pc050:~$ service mysql start
      Job for mysql.service failed because the control process exited with error code.
      See "systemctl status mysql.service" and "journalctl -xe" for details.
      pc-050@pc050:~$ systemctl status mysql.service
      ● mysql.service - MySQL Community Server
      Loaded: loaded (/lib/systemd/system/mysql.service; disabled; vendor preset: enabled)
      Active: failed (Result: exit-code) since Thu 2019-02-28 16:36:10 IST; 3s ago
      Process: 3826 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)

      Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
      Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
      Feb 28 16:36:10 pc050 systemd[1]: Stopped MySQL Community Server.
      Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Start request repeated too quickly.
      Feb 28 16:36:10 pc050 systemd[1]: mysql.service: Failed with result 'exit-code'.
      Feb 28 16:36:10 pc050 systemd[1]: Failed to start MySQL Community Server.
      pc-050@pc050:~$






      14.04 mysql






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 28 at 13:15









      j-money

      1,370418




      1,370418










      asked Feb 28 at 11:09









      Prakas RanaPrakas Rana

      31




      31






















          1 Answer
          1






          active

          oldest

          votes


















          1














          This is a "feature" of systemctl. There is a parameter in the file that limits the restart frequency in seconds. Lower this while testing.



          Try waiting (rather than editing the actual service file) to see if the problem resolves itself after some time has passed.



          If this doesn't work, a reboot should resolve it systemctl reboot






          share|improve this answer
























            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            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%2f1121943%2funable-to-start-mysql-in-ubuntu-18-04-02%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            This is a "feature" of systemctl. There is a parameter in the file that limits the restart frequency in seconds. Lower this while testing.



            Try waiting (rather than editing the actual service file) to see if the problem resolves itself after some time has passed.



            If this doesn't work, a reboot should resolve it systemctl reboot






            share|improve this answer




























              1














              This is a "feature" of systemctl. There is a parameter in the file that limits the restart frequency in seconds. Lower this while testing.



              Try waiting (rather than editing the actual service file) to see if the problem resolves itself after some time has passed.



              If this doesn't work, a reboot should resolve it systemctl reboot






              share|improve this answer


























                1












                1








                1







                This is a "feature" of systemctl. There is a parameter in the file that limits the restart frequency in seconds. Lower this while testing.



                Try waiting (rather than editing the actual service file) to see if the problem resolves itself after some time has passed.



                If this doesn't work, a reboot should resolve it systemctl reboot






                share|improve this answer













                This is a "feature" of systemctl. There is a parameter in the file that limits the restart frequency in seconds. Lower this while testing.



                Try waiting (rather than editing the actual service file) to see if the problem resolves itself after some time has passed.



                If this doesn't work, a reboot should resolve it systemctl reboot







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 28 at 11:16









                j-moneyj-money

                1,370418




                1,370418






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121943%2funable-to-start-mysql-in-ubuntu-18-04-02%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

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

                    Mangá

                    Eduardo VII do Reino Unido