ZF3 Development Mode VS Production Mode
问题 I use ZF3 and code in the development mode. I configured it like the tutorial suggests: composer development-enable So everything works fine if this mode is enabled. If I disable it I get a database connection error, like this one: Connect Error: SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'xyz' I still work on the same computer. So what error it might be? The main topic would be, how is the right way to change between development and production, does the composer