First, please remove the 2 database configuration files:
#> rm config/propel.ini config/databases.yml
Then check, if config/propel.ini.example and config/databases.yml.example exists. If not, please have a look at the info-box below.
Execute the configure:database-Task:
#> ./vimp configure:database mysql://DBUSERNAME:DBPASSWORD@HOSTNAME/DBNAME
or, e.g. to mask a password with special characters:
#> ./vimp configure:database mysql://'dbuser':'dbpassword'@'localhost'/'meinedb'
Important note:
In VIMP versions lower than 6.x, please use the command ./symfony instead of ./vimp in the code above.
Now VIMP uses the newly configured database connection.