*** This bug is a duplicate of bug 1571865 ***
https://bugs.launchpad.net/bugs/1571865
This looks like bug 1571865 to me. I wonder if it's possible that
my.cnf.migrated remains with an alternative listed even if all packages
are purged? That may be related to an issue with how the my.cnf
A first step would be to give a more helpful error message than «It didn't
work».
Running mysqld --verbose --help 2>&1 > /dev/null can let us detect errors
without starting up the database fully:
lars@lars-xenial2:~/git/mysql-5.7$ mysqld --verbose --help 2>&1 > /dev/null
It's actually worse than that, because:
(1) apt leaves the package dangling, not fully installed, requires a fix with
"apt-get install -f" ... and
(2) it leaves the databases and tables in the old pre-5.6 format because it
didn't finish installation
So it's a bit of a mess. After manually
We might be able to prevent this causing the installation to fail by
ensuring the server doesn't read config files during installation (but
need to test this to verify).
However if that is the case then the issue would be less visible as the
server would simply fail to start after installation
Apologies, I misread your message when you said "mysql-common". When I
try to install that one, I get the error:
update-alternatives: error: alternative path /etc/mysql/my.cnf.fallback
doesn't exist
I noticed there is already a bug open for that.
However: This current bug is valid. My first
>> ... but the dir /etc/mysql/conf.d/ does not exist. This should be removed as
>> it blocks the install!
>
> The mysql-common package provides /etc/mysql/conf.d/mysql.cnf and others. If
> you have deleted it locally, then this user choice will be preserved. To fix
> your system, try purging
> ... but the dir /etc/mysql/conf.d/ does not exist. This should be
removed as it blocks the install!
The mysql-common package provides /etc/mysql/conf.d/mysql.cnf and
others. If you have deleted it locally, then this user choice will be
preserved. To fix your system, try purging all mysql
** Changed in: mysql-5.7 (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567884
Title:
package mysql-server-5.7 5.7.11-0ubuntu5 failed to install/upgrade:
I just wiped all mysql server completely, including databases, and tried
to install 5.7 in xenial but it still fails. I had to do quite a few
manual steps ... Details below.
First, the my.cnf file has the line
!includedir /etc/mysql/conf.d/
... but the dir /etc/mysql/conf.d/ does not exist.
I'm posting this bug here, although the upgrade process in my case did
finish (upgraded from 5.6 to 5.7 on Xenial) but left it in a failed
state
<...SNIP...>
Installing new version of config file /etc/mysql/mysql.conf.d/mysqld.cnf ...
Job for mysql.service failed because the control process
Thanks for the info.
myisam-recover has been removed as a valid option (it's replaced by
myisam-recover-options as mentioned in the deprecation warning in 5.6, so you
should be able to just rename it).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
I had a similar (or the same error) today. I found this in my syslog:
Apr 8 18:51:25 mail mysqld[30197]: 2016-04-08T16:51:25.015211Z 0 [ERROR]
unknown variable 'myisam-recover=BACKUP'
Apr 8 18:51:25 mail mysqld[30197]: 2016-04-08T16:51:25.015314Z 0 [ERROR]
Aborting
And an older message:
Apr
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567884
Title:
13 matches
Mail list logo