sets username and database name in yml templates