Is this a database issue? I can not see it would be an issue with starting the app. The fact you say "without it the database file can not open"
Check the following:
1. Have you setup a user for the database and given all privileges.
2. Is your app using the user you setup in (1)
3. It maybe that the ip you are using to access in is refused. In this case you need to go to remoteSQL and setup wild card access %
Phil