# Is it possible to use sql script to handle all setup data  for external plugin?

**URL:** <https://forum.shopware.com/t/is-it-possible-to-use-sql-script-to-handle-all-setup-data-for-external-plugin/61389>\
**Category:** International (English Only)\
**Created:** [28. August 2019 um 18:50 UTC](https://forum.shopware.com/t/is-it-possible-to-use-sql-script-to-handle-all-setup-data-for-external-plugin/61389 "2019-08-28T18:50:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![komoito](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@komoito](https://forum.shopware.com/u/komoito)\
**Post date:** [28. August 2019 um 18:50 UTC](https://forum.shopware.com/t/is-it-possible-to-use-sql-script-to-handle-all-setup-data-for-external-plugin/61389/1 "2019-08-28T18:50:30Z")

</div>

Hi guys!

I have question is it possible to use sql script to handle all setup data &nbsp;for some plugin. For example shop configurations and etc also the internal plugin data that is used in the plugin like names or something like this.&nbsp;

I managed to do only some basic data like create my subshops and categories. Are you guys know where i can find any configuration data of plugin&nbsp;in shopware database and how i can institate that data &nbsp;by sql script.

I tried to use  
[https://developers.shopware.com/blog/2018/01/23/how-to-use-environment-variables-for-plugin-configuration/](https://developers.shopware.com/blog/2018/01/23/how-to-use-environment-variables-for-plugin-configuration/), but it doesn’t work for me. I just wanted to have all configuration possible to do via sql. Could you guys help me ? Thanks!

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [29. August 2019 um 03:55 UTC](https://forum.shopware.com/t/is-it-possible-to-use-sql-script-to-handle-all-setup-data-for-external-plugin/61389/2 "2019-08-29T03:55:52Z")

</div>

The configuration is stored in the s\_core\_configuration table. Maybe some plugins that doesn’t use a simple configuration will use own table/data structures to store their configuration
