Unable to start mysql in ubuntu 18.04.02
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
add a comment |
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
add a comment |
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
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
14.04 mysql
edited Feb 28 at 13:15
j-money
1,370418
1,370418
asked Feb 28 at 11:09
Prakas RanaPrakas Rana
31
31
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
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
});
}
});
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
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Feb 28 at 11:16
j-moneyj-money
1,370418
1,370418
add a comment |
add a comment |
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.
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
Required, but never shown
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
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
Required, but never shown
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
Required, but never shown
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
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