看来今天mysql已经升级到ver了。5.7.20-0ubuntu0.16.04.1
由于 InnoDB,我无法启动 mysql 服务器:当我设置
innodb_data_file_path = ibdata1:2M:autoextend
(我发现应该是正确的尺寸)我得到了错误
[ERROR] InnoDB: Tablespace size must be at least 5 MB
当我将其设置为
innodb_data_file_path = ibdata1:5M:autoextend
我得到错误
InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 128 pages (rounded down to MB) than specified in the .cnf file: initial 320 pages, max 0 (relevant if non-zero) pages!
我错过了什么吗?我该如何解决?
我现在得到了这个线程的帮助:MySQL not working after upgrade from 14.04 to 16.04
我不得不从 my.cnf 中删除这两行