You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
After upgrading to v.8.3.0 using git pull, I started having database connection issues. My database connection details are correct, I installed mysql-client in the api container and I can connect the database.
php directus db:upgrade
There was a problem connecting to the database:
'emdmonapi is NOT THE DATABASE NAME BUT THE PROJECT NAME
It is incorrectly using project name instead of the database name. The configuration file is correct in /var/www/public/api/config/ api.frontgenapi.php. I can connect to the database using the same credentials.
This was related to the config file permission on the api side. Make sure you have www-data as the user:group if you copy them from another repository.
After upgrading to v.8.3.0 using git pull, I started having database connection issues. My database connection details are correct, I installed mysql-client in the api container and I can connect the database.
php directus db:upgrade
There was a problem connecting to the database:
SQLSTATE[HY000] [1049] Unknown database 'emdmonapi'
'emdmonapi is NOT THE DATABASE NAME BUT THE PROJECT NAME
It is incorrectly using project name instead of the database name. The configuration file is correct in /var/www/public/api/config/ api.frontgenapi.php. I can connect to the database using the same credentials.
Thanks in advance for any hint.
Click to Show Error Log
The text was updated successfully, but these errors were encountered: