I am hosting a mariadb docker container and a Strapi 5.0.0-rc3 container, but it doesn’t seem possible for Strapi to use this database as it never persists. Is there a limitation imposed by the new version ?
This topic has been created from a Discord post (1263879439528497202) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
ok the AI on the new documentation is actually really well made, and I simply hat to change this env var from sqlite to mysql
DATABASE_CLIENT=mysql
It wasn’t named exactly “DATABASE_CLIENT” before and so the default value for Strapi is sqlite (as defined in the database.ts file)
Also, don’t forget to install the mysql2 package in this case.
Thanks Strapi team for your work !