Laravel 5 Openshift Databse not connecting -


i setting laravel 5 openshift application every time had databse code in project says whoops missing. have added environment in .env in database credential still no success. wondering may cause of since followed instruction website working if omit database code.

are trying database working local or remote development? .env file in root directory local development, while .openshift/.env file remote development. if you're using standard openshift database (such mysql or postgresql), shouldn't need make configuration changes database working. it's configured via environment variables.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -