[MDEV-16448] mysql_upgrade_service : remove my.ini variables that are no more valid. Created: 2018-06-08 Updated: 2018-11-15 Resolved: 2018-11-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Windows, Scripts & Clients |
| Affects Version/s: | None |
| Fix Version/s: | 10.3.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vladislav Vaintroub | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Innodb apparently likes to deprecate/remove variables between versions. mysql_upgrade_service should therefore remove no-longer-valid variables from [mysqld] section. |
| Comments |
| Comment by Elena Stepanova [ 2018-06-08 ] |
|
As well as [mariadb], [server], etc. sections. |
| Comment by Vladislav Vaintroub [ 2018-06-08 ] |
|
Not sure we can do everything. mysql_install_db.exe only creates [mysqld] section. While in theory a lot of sections are possible, in practice I have not seen a my.ini with [mariadb] or with [server]. In worst case, if start with the new version fails, an understandable error message should be extracted from the error log, so people can fix manually And, we should roll back service config change in this case. |
| Comment by Vladislav Vaintroub [ 2018-11-06 ] |
|
list of the variables that were there in either 5.5,10.0,10.1,10.2 and have gone in 10.3 (this excludes loadable plugins, only server and engines compiled in by default) aria_recover |