# Category/Topic export fails with error "database "discourse\_development" does not exist"

**URL:** <https://meta.discourse.org/t/category-topic-export-fails-with-error-database-discourse-development-does-not-exist/42938>\
**Category:** Support\
**Created:** [April 21, 2016, 2:23pm UTC](https://meta.discourse.org/t/category-topic-export-fails-with-error-database-discourse-development-does-not-exist/42938 "2016-04-21T14:23:48Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pacharanero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pacharanero/32/500583_2.png) [@pacharanero](https://meta.discourse.org/u/pacharanero)\
**Post date:** [April 21, 2016, 6:15pm UTC](https://meta.discourse.org/t/category-topic-export-fails-with-error-database-discourse-development-does-not-exist/42938/3 "2016-04-21T18:15:26Z")

</div>

Woop! thanks @zogstrip. That works.

I did scour Meta for a solution, and also had a look at the source for the /scripts/discourse but I didn’t see anywhere it said about using the `discourse` command like that, without `bundle exec`.

That would appear to have solved my problem, but I would say the discourse command line tool needs a little more documentation, just to get people started. I’m far from a discourse n00b and I can see in the source that the CLI tool has command line `--help` strings for individual features/switches etc, but it needs to be clearer how to get started - eg that you invoke it without `bundle exec`.

Once again, thanks @zogstrip

Marcus

---

_[View the full topic](https://meta.discourse.org/t/category-topic-export-fails-with-error-database-discourse-development-does-not-exist/42938)._
