You can use
JJsonsoft/Newtonsoft
framework.
It helps you to migrate xml data into database.
This framework is used to move multiple type of collections
into multiple type of databases.
JXmlMySQLDataAdapter
It Provides you multiple type of data adapters.
For example,
MySqlDataAdapter.PM_MigrateInDBConnStr
Which is generic for any type,
And it will help you to put particular data in particular database.
For your reference[
^]