Configuration Error while installing mysql in ubutnu 16.04cannot upgrade kernel and mysql-server after dist upgradeMySQL Installation Issues on Ubuntu 15.04Nginx installation error in Ubuntu 16.04mysql doesn't ask for root password when installingDell XPS 13 DE won't restart after failed update to Ubuntu 16.04 from 14.04mysql-server-5.5 ErrorUnable to install MariaDB on circleCI ? Problems with dpkg.After upgrade to 16.04 - alternative link error setting up mysql-commonError While removing corrupted mysqlmysql-server-5.7 package post-installation script subprocess returned error exit status 127
How do I locate a classical quotation?
Why would one plane in this picture not have gear down yet?
In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?
Can someone explain what is being said here in color publishing in the American Mathematical Monthly?
What to do when during a meeting client people start to fight (even physically) with each others?
Examples of a statistic that is not independent of sample's distribution?
Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?
They call me Inspector Morse
What is the likely impact of grounding an entire aircraft series?
"One can do his homework in the library"
How do I deal with a powergamer in a game full of beginners in a school club?
Unreachable code, but reachable with exception
Good allowance savings plan?
Look through the portal of every day
How to pass a string to a command that expects a file?
Low budget alien movie about the Earth being cooked
Norms on fields
Placing subfig vertically
If the Captain's screens are out, does he switch seats with the co-pilot?
Built-In Shelves/Bookcases - IKEA vs Built
Make a transparent 448*448 image
Set and print content of environment variable in cmd.exe subshell?
Aliens englobed the Solar System: will we notice?
Why the color red for the Republican Party
Configuration Error while installing mysql in ubutnu 16.04
cannot upgrade kernel and mysql-server after dist upgradeMySQL Installation Issues on Ubuntu 15.04Nginx installation error in Ubuntu 16.04mysql doesn't ask for root password when installingDell XPS 13 DE won't restart after failed update to Ubuntu 16.04 from 14.04mysql-server-5.5 ErrorUnable to install MariaDB on circleCI ? Problems with dpkg.After upgrade to 16.04 - alternative link error setting up mysql-commonError While removing corrupted mysqlmysql-server-5.7 package post-installation script subprocess returned error exit status 127
Unfortunately, I uninstalled MySQL. And later I am trying to install but I get this following error.
ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu11) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for systemd (229-4ubuntu21.16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried the following steps
- Removed MySQL server completely and tried installing again.
sudo dpkg --configure -aapt-get install -f
But no use.
16.04 apache2 mysql sql
add a comment |
Unfortunately, I uninstalled MySQL. And later I am trying to install but I get this following error.
ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu11) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for systemd (229-4ubuntu21.16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried the following steps
- Removed MySQL server completely and tried installing again.
sudo dpkg --configure -aapt-get install -f
But no use.
16.04 apache2 mysql sql
Have you tried runningapt-get --fix-broken installas it suggests in the error message?
– Samuel P.
Mar 7 at 5:58
@SamuelP. Yes,-fis short for--fix-broken.
– fkraiem
Mar 7 at 6:03
also tried it but not working
– Ramesh KR
Mar 7 at 6:13
Sorry didn't remember that
– Samuel P.
Mar 7 at 7:35
Try deleting the/etc/mysql*files and folders then try installing again
– Parto
Mar 7 at 13:46
add a comment |
Unfortunately, I uninstalled MySQL. And later I am trying to install but I get this following error.
ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu11) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for systemd (229-4ubuntu21.16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried the following steps
- Removed MySQL server completely and tried installing again.
sudo dpkg --configure -aapt-get install -f
But no use.
16.04 apache2 mysql sql
Unfortunately, I uninstalled MySQL. And later I am trying to install but I get this following error.
ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu11) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for systemd (229-4ubuntu21.16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried the following steps
- Removed MySQL server completely and tried installing again.
sudo dpkg --configure -aapt-get install -f
But no use.
16.04 apache2 mysql sql
16.04 apache2 mysql sql
edited Mar 7 at 6:13
Samuel P.
208110
208110
asked Mar 7 at 5:13
Ramesh KRRamesh KR
1063
1063
Have you tried runningapt-get --fix-broken installas it suggests in the error message?
– Samuel P.
Mar 7 at 5:58
@SamuelP. Yes,-fis short for--fix-broken.
– fkraiem
Mar 7 at 6:03
also tried it but not working
– Ramesh KR
Mar 7 at 6:13
Sorry didn't remember that
– Samuel P.
Mar 7 at 7:35
Try deleting the/etc/mysql*files and folders then try installing again
– Parto
Mar 7 at 13:46
add a comment |
Have you tried runningapt-get --fix-broken installas it suggests in the error message?
– Samuel P.
Mar 7 at 5:58
@SamuelP. Yes,-fis short for--fix-broken.
– fkraiem
Mar 7 at 6:03
also tried it but not working
– Ramesh KR
Mar 7 at 6:13
Sorry didn't remember that
– Samuel P.
Mar 7 at 7:35
Try deleting the/etc/mysql*files and folders then try installing again
– Parto
Mar 7 at 13:46
Have you tried running
apt-get --fix-broken install as it suggests in the error message?– Samuel P.
Mar 7 at 5:58
Have you tried running
apt-get --fix-broken install as it suggests in the error message?– Samuel P.
Mar 7 at 5:58
@SamuelP. Yes,
-f is short for --fix-broken.– fkraiem
Mar 7 at 6:03
@SamuelP. Yes,
-f is short for --fix-broken.– fkraiem
Mar 7 at 6:03
also tried it but not working
– Ramesh KR
Mar 7 at 6:13
also tried it but not working
– Ramesh KR
Mar 7 at 6:13
Sorry didn't remember that
– Samuel P.
Mar 7 at 7:35
Sorry didn't remember that
– Samuel P.
Mar 7 at 7:35
Try deleting the
/etc/mysql* files and folders then try installing again– Parto
Mar 7 at 13:46
Try deleting the
/etc/mysql* files and folders then try installing again– Parto
Mar 7 at 13:46
add a comment |
1 Answer
1
active
oldest
votes
Probably your some congif files are missing on your system. Run the following command to restore them:
apt-get -o Dpkg::Options::="--force-confmiss" install mysql-server
It is possible, that you get an error at the end of this command, but the folder /etc/mysql/conf.d/ should be there now. If the command fails, you have to start mysql manually:
service mysql start
Then run the following, to finish installation:
apt-get install -f mysql-server
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%2f1123671%2fconfiguration-error-while-installing-mysql-in-ubutnu-16-04%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
Probably your some congif files are missing on your system. Run the following command to restore them:
apt-get -o Dpkg::Options::="--force-confmiss" install mysql-server
It is possible, that you get an error at the end of this command, but the folder /etc/mysql/conf.d/ should be there now. If the command fails, you have to start mysql manually:
service mysql start
Then run the following, to finish installation:
apt-get install -f mysql-server
add a comment |
Probably your some congif files are missing on your system. Run the following command to restore them:
apt-get -o Dpkg::Options::="--force-confmiss" install mysql-server
It is possible, that you get an error at the end of this command, but the folder /etc/mysql/conf.d/ should be there now. If the command fails, you have to start mysql manually:
service mysql start
Then run the following, to finish installation:
apt-get install -f mysql-server
add a comment |
Probably your some congif files are missing on your system. Run the following command to restore them:
apt-get -o Dpkg::Options::="--force-confmiss" install mysql-server
It is possible, that you get an error at the end of this command, but the folder /etc/mysql/conf.d/ should be there now. If the command fails, you have to start mysql manually:
service mysql start
Then run the following, to finish installation:
apt-get install -f mysql-server
Probably your some congif files are missing on your system. Run the following command to restore them:
apt-get -o Dpkg::Options::="--force-confmiss" install mysql-server
It is possible, that you get an error at the end of this command, but the folder /etc/mysql/conf.d/ should be there now. If the command fails, you have to start mysql manually:
service mysql start
Then run the following, to finish installation:
apt-get install -f mysql-server
answered 1 hour ago
Samuel P.Samuel P.
208110
208110
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%2f1123671%2fconfiguration-error-while-installing-mysql-in-ubutnu-16-04%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
Have you tried running
apt-get --fix-broken installas it suggests in the error message?– Samuel P.
Mar 7 at 5:58
@SamuelP. Yes,
-fis short for--fix-broken.– fkraiem
Mar 7 at 6:03
also tried it but not working
– Ramesh KR
Mar 7 at 6:13
Sorry didn't remember that
– Samuel P.
Mar 7 at 7:35
Try deleting the
/etc/mysql*files and folders then try installing again– Parto
Mar 7 at 13:46