How to upgrade mariadb from a sql dump file?
问题 I have a sql dump file generated by mysqldump of mariadb 10.2. I want to set up a new db server using mariadb 10.4 with data coming from the sql dump file. Is the upgrade process necessary in this case? If so, should I first restore the sql file into db and then run mysql_upgrade or somehow directly upgrade the sql file and then restore into the db? 回答1: Well I would suggest that you follow the upgrade guides given on the MariaDb website. See Upgrading MariaDB. It lists articles on upgrading