This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

Minor upgrade of MariaDB (from 10.1.22 to 10.1.26)

Hello,

i'm trying to upgrade MariaDB from 10.1.22 to 10.1.26. I followed the page https://mariadb.com/kb/en/the-mariadb-library/upgrading-between-minor-versions-of-mariadb/ I uninstalled MariaDB 10.1.22, with keeping data mode, so when i install 10.1.26 (in the same folder) it says that there is already a data folder... (Selected data directory "C:\Progs\MariaDB 10.1\data\" is not empty) Do i have to install 10.1.26 in another folder an replace the ini file to be linked to the old data folder ?

thanks, Renaud

Answer Answered by Vladislav Vaintroub in this comment.

rename existing folder "data" to "new_data", install, shutdown server, rename "new_data" to "data". Next time do not uninstall for minor upgrades. This advice is not inappropriate to Windows (youcan safely skip any documentation about installling and upgrading, *unless* it mentions Windows in title)

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.