Hello! .. > When upgrading from 10.1 to 10.3 and not using the new 10.3 conf files.. > > 2019-01-27 11:13:12 0 [ERROR] /usr/sbin/mysqld: unknown variable > 'innodb-large-prefix=on' > 2019-01-27 11:13:12 0 [ERROR] Aborting > > This is kinda ugly, can't previously known variables be ignored? > I didn't use the new conf files yet because I didn't want to lose local > modifications.
Yes, I guess it would be ideal if the upstream binary ignored unknown configs instead of stopping on them. Maybe Marko has some comments on this. In packaging we could have some preinstall script that simply added a comment to all lines with deprecated config items in the configs, and would thus handle the migration automatically. Here is the commit about the changes necessary to the default configs in Debian: https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/ae10a7fca8ddbc4f448f6a106440e9d8cbe14eac Would you Olaf want to contribute to the maintainer scripts and write up some sed commands etc that would do this?

