You're going to need to be more specific. What kind of database are you trying to open?
One thing to note about iCloud - it's designed to be a syncing service more than anything (bookmarks, files, email, calendar, etc) and not necessarily a file storage service. From the sounds of it, you've uploaded a database to it somewhere and are trying to view it outside of iCloud's normal methods of operation.