# Change default Datasource History Provider

**URL:** <https://forum.inductiveautomation.com/t/change-default-datasource-history-provider/80752>\
**Category:** Ignition\
**Created:** [October 20, 2023, 9:48am UTC](https://forum.inductiveautomation.com/t/change-default-datasource-history-provider/80752 "2023-10-20T09:48:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Smith1](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@John\_Smith1](https://forum.inductiveautomation.com/u/John_Smith1)\
**Post date:** [October 20, 2023, 9:48am UTC](https://forum.inductiveautomation.com/t/change-default-datasource-history-provider/80752/1 "2023-10-20T09:48:17Z")

</div>

I have a Ignition setup, which uses only one database connection, which is called, for example, "Mysql1" .  
This database connection is also the only and default datasource history provider.  
I want to add second database connection "Mysql2" and use it as default datasource history provider.  
What's the right way to switch datasource "Mysql2" as a default datasource history provider?

---

<div class="post-metadata">

**Author:** ![Bryson\_Prince](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bryson_prince/32/48866_2.png) [@Bryson\_Prince](https://forum.inductiveautomation.com/u/Bryson_Prince)\
**Post date:** [November 6, 2023, 11:06pm UTC](https://forum.inductiveautomation.com/t/change-default-datasource-history-provider/80752/2 "2023-11-06T23:06:13Z")

</div>

Hi @John_Smith1,

If you are just looking to change where the tags are storing history, you'll need to change the Storage Provider field in the history settings for each tag. You can multi-select whichever tags you want to change, and do a bulk tag edit to change the storage provider for the tags.

If you are looking to change the default database for the project, then you can change the default database in the [Project Properties](https://docs.inductiveautomation.com/display/DOC81/Project+Properties#ProjectProperties-DefaultDatabaseandDefaultTagProvider).

If neither of those scenarios line up with your use case, please give some more details on where why you are trying to accomplish this, so that the forum community can better help you.

---

<div class="post-metadata">

**Author:** ![John\_Smith1](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@John\_Smith1](https://forum.inductiveautomation.com/u/John_Smith1)\
**Post date:** [November 8, 2023, 10:50am UTC](https://forum.inductiveautomation.com/t/change-default-datasource-history-provider/80752/3 "2023-11-08T10:50:50Z")

</div>

Thank you, your answer is fine with me.
