Cannot connect to database.

Wrong database environment setting? $env=pro