Self-hosting on Gandi | Questions about Strapi and MySQL

You probably want to put the configuration values into config/database.ts or config/{env}/{environemtnName}/database.ts if you use different environments.

See Database configuration.