package mysql-server-5.7 5.7.24-0ubuntu0.18.04.1 failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
i have added Mysql APT repo
then installed mysql v8.xx
then my phpmyadmin stoped working.
so i uninstalled mysql-server also purge the apt repo.
then i try to install the native mysql-server comes with ubuntu repo
so this error came..
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.24-
ProcVersionSign
Uname: Linux 4.15.0-43-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Tue Jan 22 12:24:17 2019
ErrorMessage: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2019-01-02 (19 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.3ubuntu0.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.24-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hi,
Your /var/log/ mysql/error. log has the following: [ERROR] [FATAL] InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4000!
Are you attempting to open a mysql 8 database with mysql 5? I don't think that's supported. Make sure all traces of mysql 8 are removed (including databases) before installing mysql 5.
I'm marking this as invalid for now, but if this error really is caused during normal operation of mysql 5 without interference from an old mysql 8, please let us know and reopen the ticket. In such a case you should probably also check on the mysql bug tracker https:/ /bugs.mysql. com/
Full error message:
2019-01- 22T06:54: 17.395378Z 0 [ERROR] [FATAL] InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4000! bugs.mysql. com. dev.mysql. com/doc/ refman/ 5.7/en/ forcing- innodb- recovery. html
2019-01-22 12:24:17 0x7ff02a461740 InnoDB: Assertion failure in thread 140669478115136 in file ut0ut.cc line 942
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://
InnoDB: about forcing recovery.
06:54:17 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
key_buffer_ size=16777216 size=131072 connections= 0 size)*max_ threads = 76387 K bytes of memory
read_buffer_
max_used_
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0 mysqld( my_print_ stacktrace+ 0x3b)[0xebde1b] mysqld( handle_ fatal_signal+ 0x48b)[ 0x790bbb] 64-linux- gnu/libpthread. so.0(+0x12890) [0x7ff028fbf890 ] 64-linux- gnu/libc. so.6(gsignal+ 0xc7)[0x7ff0282 bbe97] 64-linux- gnu/libc. so.6(abort+ 0x141)[ 0x7ff0282bd801] mysqld[ 0x7675ca] mysqld( _ZN2ib5fatalD1E v+0x66) [0x1094aa6] mysqld[ 0x11426ec] mysqld[ 0x1142c6d] mysqld( _Z6fil_ ioRK9IORequestb RK9page_ id_tRK11page_ size_tmmPvS8_ +0x322) [0x114d6d2] mysqld( _Z13buf_ read_pageRK9pag e_id_tRK11page_ size_t+ 0xdd)[0x11007fd ] mysqld( _Z16buf_ page_get_ genRK9page_ id_tRK11page_ size_tmP11buf_ block_tmPKcmP5m tr_tb+0x4e5) [0x10d2555] mysqld( _Z31trx_ rseg_get_ n_undo_ tablespacesPm+ 0x14f)[ 0x1072dbf] mysqld[ 0x103a218] mysqld( _Z34innobase_ start_or_ create_ for_mysqlv+ 0x2de6) [0x103e546]
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x30000
/usr/sbin/
/usr/sbin/
/lib/x86_
/lib/x86_
/lib/x86_
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/m...