Database connection in 3.9

Hello everybody :slight_smile:
I am trying to update an application from 3.x to 3.9.
But I just can’t connect to the database.
It seems to be in the .env file but I cannot make it work.
I tried : export DATABASE_URL=“mysql://DB_name:DB_pwd@DB_address/${APP_NAME}?encoding=utf8&timezone=UTC&cacheMetadata=true&quoteIdentifiers=false&persistent=false”

I am not sure for APP_NAME.

And how do I configure a second database ?

Try to update your database connection info changing the file \config\app.php and \config\app_local.php if you are using CakePHP 3.9.* - If you want to configure a second database add another Connection information in you \config\app.php and \config\app_local.php

I finally found the way.
Thank you for taking time to answer.