# Unknown database 'ecommerce'

**URL:** <https://discuss.openedx.org/t/unknown-database-ecommerce/9153>\
**Category:** Development\
**Tags:** how-to, ecommerce, tutor\
**Created:** [January 18, 2023, 9:04am UTC](https://discuss.openedx.org/t/unknown-database-ecommerce/9153 "2023-01-18T09:04:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dianamoonlight](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@dianamoonlight](https://discuss.openedx.org/u/dianamoonlight)\
**Post date:** [January 18, 2023, 9:04am UTC](https://discuss.openedx.org/t/unknown-database-ecommerce/9153/1 "2023-01-18T09:04:31Z")

</div>

So, I’ve been trying to activate the tutor ecommerce plugin.  
After some several struggles and reading the documentation, I’m stuck at this problem:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/3/39aa73dab6a4910edaa70f4324ccb873d83d08ad.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e6a70ea41a42b19a044c284aea79f755b12f8c50.png)

the logs of migration command also throwing the same “unknown database ecommerce”

I’ve already following the installation document where I’ve used `make requirements` followed by `make migration`

and here is the error when I run the `make migrate` command  
(I ran the command in the ecommerce container)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/c/c653a54bd9a99dd52368725604488ea085a1ed54.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/4/4572da6e319bd8a69b5f65a5dffb04737ac069a8.png)

would you like to help me to solve this one?

---

<div class="post-metadata">

**Author:** ![sambapete](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/sambapete/32/4100_2.png) [@sambapete](https://discuss.openedx.org/u/sambapete)\
**Post date:** [January 18, 2023, 2:29pm UTC](https://discuss.openedx.org/t/unknown-database-ecommerce/9153/2 "2023-01-18T14:29:21Z")

</div>

The tutor-ecommerce plugin is the official way of installing ecommerce for Tutor. How did you install the ecommerce plugin?

It should have been added to your Tutor configuration with:

```auto
tutor plugins enable discovery ecommerce
tutor config save

```

`tutor local quickstart` or `tutor local launch` depending on the release of Tutor being used/

---

<div class="post-metadata">

**Author:** ![dianamoonlight](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@dianamoonlight](https://discuss.openedx.org/u/dianamoonlight)\
**Post date:** [January 18, 2023, 3:20pm UTC](https://discuss.openedx.org/t/unknown-database-ecommerce/9153/3 "2023-01-18T15:20:08Z")

</div>

yep, I installed it through the tutor plugin by just enabling.  
That’s why I got confused why it didn’t installed properly

---

<div class="post-metadata">

**Author:** ![regis](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/regis/32/2640_2.png) [@regis](https://discuss.openedx.org/u/regis)\
**Post date:** [January 26, 2023, 9:03am UTC](https://discuss.openedx.org/t/unknown-database-ecommerce/9153/4 "2023-01-26T09:03:35Z")

</div>

Did you run `tutor local launch`? Did it complete successfully?

---

<div class="post-metadata">

**Author:** ![dianamoonlight](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@dianamoonlight](https://discuss.openedx.org/u/dianamoonlight)\
**Post date:** [January 30, 2023, 5:03am UTC](https://discuss.openedx.org/t/unknown-database-ecommerce/9153/5 "2023-01-30T05:03:11Z")

</div>

I’m running still running on the `tutor dev`.  
Do the ecommerce for tutor dev version is not working?

---

<div class="post-metadata">

**Author:** ![regis](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/regis/32/2640_2.png) [@regis](https://discuss.openedx.org/u/regis)\
**Post date:** [January 30, 2023, 9:14am UTC](https://discuss.openedx.org/t/unknown-database-ecommerce/9153/6 "2023-01-30T09:14:38Z")

</div>

> [@dianamoonlight](#):
>
> I’m running still running on the `tutor dev`.

Then you should have run `tutor dev launch` – or at least `tutor dev start -d && tutor dev do init --limit=ecommerce`
