Cake bake configuration DB problem

Hello

Im trying to set database config in cake bake console, but i get warning

PHP Fatal error: Class ‘DATABASE_CONFIG’ not found in /usr/share/php/cake/console/libs/tasks/db_config.php on line 260

Fatal error: Class ‘DATABASE_CONFIG’ not found in /usr/share/php/cake/console/libs/tasks/db_config.php on line 260

I use 127.0.0.1 instead of localhost. In page i have success ,CakePHP is able to connect to the database."

How can I fix it?

SOLVED

need to copy config folder to bin