The “Preparing application” section says:
Create a new database and adjust the
While in the same time (earlier) a concept of environments is introduced. The above line says nothing about adding changed database configuration to corresponding configuration files in environments folder. This cause that any call to
php init and any change to environment will cause
/path/to/yii-application/common/config/main-local.php file to be overwritten and the whole application to stop working.
Shouldn’t the guide be updated?