Server settings for cloud foundry deployment

I am trying to deploy my application to cloudfoundry. I have bound a mysql service instance, and set the DATABASE_URL,DEVELOPEMENT_MODE and ADMIN_PASSWORD. The 'Run on Cloud foundry' ends up with the following logs : The DB does not exist.  But I have mentioned the database name in the DATABASE_URL as given in the VCAP of the application. What else do I need to set?      
0 answers