Yes, tried rebooting the NAS01, no difference.
If I view the new database in phpmyadmin - the season_view view shows 0 rows, and I can’t select from it without error - I’ve now tried recreating the view with the definition from the old database - and it now returns data, next step to see if Kodi still functions.
OLD DEFINITION:
CREATE ALGORITHM=UNDEFINED DEFINER=kodi@% SQL SECURITY DEFINER VIEW season_view AS
SELECT seasons.idSeason AS idSeason,seasons.idShow AS idShow,seasons.season AS season,seasons.name AS name,seasons.userrating AS userrating,tvshow_view.strPath AS strPath,tvshow_view.c00 AS showTitle,tvshow_view.c01 AS plot,tvshow_view.c05 AS premiered,tvshow_view.c08 AS genre,tvshow_view.c14 AS studio,tvshow_view.c13 AS mpaa, COUNT(DISTINCT episode.idEpisode) AS episodes, COUNT(files.playCount) AS playCount, MIN(episode.c05) AS aired
FROM (((seasons
JOIN tvshow_view ON((tvshow_view.idShow = seasons.idShow)))
JOIN episode ON(((episode.idShow = seasons.idShow) AND (episode.c12 = seasons.season))))
JOIN files ON((files.idFile = episode.idFile)))
GROUP BY seasons.idSeason;
NEW DEFINITION:
CREATE ALGORITHM=UNDEFINED DEFINER=`kodi`@`%` SQL SECURITY DEFINER VIEW `season_view` AS
SELECT `seasons`.`idSeason` AS `idSeason`,`seasons`.`idShow` AS `idShow`,`seasons`.`season` AS `season`,`seasons`.`name` AS `name`,`seasons`.`userrating` AS `userrating`,`tvshow_view`.`strPath` AS `strPath`,`tvshow_view`.`c00` AS `showTitle`,`tvshow_view`.`c01` AS `plot`,`tvshow_view`.`c05` AS `premiered`,`tvshow_view`.`c08` AS `genre`,`tvshow_view`.`c14` AS `studio`,`tvshow_view`.`c13` AS `mpaa`, COUNT(DISTINCT `episode`.`idEpisode`) AS `episodes`, COUNT(`files`.`playCount`) AS `playCount`, MIN(`episode`.`c05`) AS `aired`
FROM (((`seasons`
JOIN `tvshow_view` ON((`tvshow_view`.`idShow` = `seasons`.`idShow`)))
JOIN `episode` ON(((`episode`.`idShow` = `seasons`.`idShow`) AND (`episode`.`c12` = `seasons`.`season`))))
JOIN `files` ON((`files`.`idFile` = `episode`.`idFile`)))
GROUP BY `seasons`.`idSeason`,`seasons`.`idShow`,`seasons`.`season`,`seasons`.`name`,`seasons`.`userrating`,`tvshow_view`.`strPath`,`tvshow_view`.`c00`,`tvshow_view`.`c01`,`tvshow_view`.`c05`,`tvshow_view`.`c08`,`tvshow_view`.`c14`,`tvshow_view`.`c13`;