creating database while exporting at database level
Merge pull request #395 from ayusun/exportsqlupdate

creating database while exporting at database level