# How add the origin mysql 5.7.x to the pxc 8.x?

**URL:** <https://forums.percona.com/t/how-add-the-origin-mysql-5-7-x-to-the-pxc-8-x/9595>\
**Category:** Percona XtraDB Cluster 8.x\
**Created:** [March 9, 2021, 3:10am UTC](https://forums.percona.com/t/how-add-the-origin-mysql-5-7-x-to-the-pxc-8-x/9595 "2021-03-09T03:10:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eyanchao](https://avatars.discourse-cdn.com/v4/letter/e/b38774/32.png) [@eyanchao](https://forums.percona.com/u/eyanchao)\
**Post date:** [March 9, 2021, 3:10am UTC](https://forums.percona.com/t/how-add-the-origin-mysql-5-7-x-to-the-pxc-8-x/9595/1 "2021-03-09T03:10:33Z")

</div>

How add the origin mysql 5.7.x to the pxc 8.x?  
and the origin mysql 5.7.x has many databases and the data is big?

---

<div class="post-metadata">

**Author:** ![vadimtk](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadimtk/32/9528_2.png) [@vadimtk](https://forums.percona.com/u/vadimtk)\
**Post date:** [March 9, 2021, 3:25pm UTC](https://forums.percona.com/t/how-add-the-origin-mysql-5-7-x-to-the-pxc-8-x/9595/2 "2021-03-09T15:25:44Z")

</div>

I do not quite understand your question.  
Are you looking to migrate your data from MySQL 5.7 to Percona XtraDB Cluster 8.0 ?

---

<div class="post-metadata">

**Author:** ![eyanchao](https://avatars.discourse-cdn.com/v4/letter/e/b38774/32.png) [@eyanchao](https://forums.percona.com/u/eyanchao)\
**Post date:** [March 10, 2021, 7:46am UTC](https://forums.percona.com/t/how-add-the-origin-mysql-5-7-x-to-the-pxc-8-x/9595/3 "2021-03-10T07:46:52Z")

</div>

Yes,it is or make it one of the pxc 8.0.

---

<div class="post-metadata">

**Author:** ![vadimtk](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadimtk/32/9528_2.png) [@vadimtk](https://forums.percona.com/u/vadimtk)\
**Post date:** [March 10, 2021, 12:56pm UTC](https://forums.percona.com/t/how-add-the-origin-mysql-5-7-x-to-the-pxc-8-x/9595/4 "2021-03-10T12:56:25Z")

</div>

I recommend you upgrade to MySQL 8.0 first, and if this is successful then you shutdown MySQL and you can start the first PXC 8.0 node on the same data directory.  
Later you can add additional nodes.
