Invalid config from upgrading since old version of mysql: stray config value 'query_cache_limit=1M'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
happened when doing auto updates to ubuntu linux
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.28-
ProcVersionSign
Uname: Linux 5.4.0-97-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Sat Feb 12 12:28:54 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2014-02-07 (2928 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
Logs.var.
MySQLConf.
MySQLConf.
[mysqld_safe]
syslog
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
MySQLConf.
[mysqld_safe]
syslog
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.28-
UpgradeStatus: Upgraded to focal on 2021-12-22 (53 days ago)
Logs.var.
2022-02-
2022-02-
2022-02-
description: | updated |
summary: |
- package mysql-server-8.0 8.0.28-0ubuntu0.20.04.3 failed to - install/upgrade: installed mysql-server-8.0 package post-installation - script subprocess returned error exit status 1 + Invalid config from upgrading since old version of mysql: stray config + value 'query_cache_limit=1M' |
Changed in mysql-8.0 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | removed: need-duplicate-check |
Hi Marc,
Thanks for forwarding this bug. From the logs it sounds like there is a stray config value 'query_ cache_limit= 1M' being set, but that's not referenced in the config files that this automated bug filer included in this report.
Could you run this command and post the output here?
$ sudo grep -sr query_cache_limit /etc/mysql/
I notice you've upgraded to focal from earlier releases, dating back to 13.10, so I'd guess this parameter was set in an earlier version of mysql and carried forward until it was deprecated. Does that sound right to you, or do you think you manually added that config setting?