# Auth0 deploy cli with default database connection

**URL:** <https://community.auth0.com/t/auth0-deploy-cli-with-default-database-connection/18238>\
**Category:** Get Help\
**Tags:** cli, database-connections\
**Created:** [November 22, 2018, 12:12pm UTC](https://community.auth0.com/t/auth0-deploy-cli-with-default-database-connection/18238 "2018-11-22T12:12:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan.hoskens](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jan.hoskens/32/12805_2.png) [@jan.hoskens](https://community.auth0.com/u/jan.hoskens)\
**Post date:** [November 22, 2018, 12:12pm UTC](https://community.auth0.com/t/auth0-deploy-cli-with-default-database-connection/18238/1 "2018-11-22T12:12:09Z")

</div>

Hi,

I am using the auth0-deploy-cli to create a full setup on Auth0. We exported everything, including the Username-Password-Authentication database connection. Everything imports correctly. But when trying to add a user I get the following exception:

You have turned the switch to use your own database instead of Auth0 and you have not implemented the “Create” script. Either implement it or make sure you turn off the “Use my own database”.

The switch to use my own database is off. I have no idea why I cannot create users in that connection while creating one manually everything works as expected. I do not see any difference between the manual and automatic creation…

Kind Regards,  
Jan

---

<div class="post-metadata">

**Author:** ![alexander.valchuk](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@alexander.valchuk](https://community.auth0.com/u/alexander.valchuk)\
**Post date:** [November 22, 2018, 12:58pm UTC](https://community.auth0.com/t/auth0-deploy-cli-with-default-database-connection/18238/2 "2018-11-22T12:58:33Z")

</div>

Hi there, we’ve got the same issue

---

<div class="post-metadata">

**Author:** ![jared.wheeler](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jared.wheeler/32/12805_2.png) [@jared.wheeler](https://community.auth0.com/u/jared.wheeler)\
**Post date:** [December 17, 2018, 5:42pm UTC](https://community.auth0.com/t/auth0-deploy-cli-with-default-database-connection/18238/3 "2018-12-17T17:42:47Z")

</div>

If you have been unable to find a solution, I was able to resolve the issue by adding the following into the options section of the database.json within the database-connections configuration.

`"enabledDatabaseCustomization": false`

---

<div class="post-metadata">

**Author:** ![jan.hoskens](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jan.hoskens/32/12805_2.png) [@jan.hoskens](https://community.auth0.com/u/jan.hoskens)\
**Post date:** [December 20, 2018, 8:38am UTC](https://community.auth0.com/t/auth0-deploy-cli-with-default-database-connection/18238/4 "2018-12-20T08:38:30Z")

</div>

Thanks Jared!

Just tried your suggestion and I could add a new user without any problems.

Kind Regards,  
Jan

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 19, 2019, 8:38am UTC](https://community.auth0.com/t/auth0-deploy-cli-with-default-database-connection/18238/5 "2019-01-19T08:38:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
