# Can I create Percona XtraDB Cluster on existing standalone MySQL database (non-Percona)?

**URL:** https://forums.percona.com/t/can-i-create-percona-xtradb-cluster-on-existing-standalone-mysql-database-non-percona/11018
**Category:** Percona XtraDB Cluster 8.x
**Created:** [June 24, 2021, 9:15am UTC](https://forums.percona.com/t/can-i-create-percona-xtradb-cluster-on-existing-standalone-mysql-database-non-percona/11018 "2021-06-24T09:15:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![M00n1](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/m00n1/32/3851_2.png) [@M00n1](https://forums.percona.com/u/M00n1)
#### Post date: [June 24, 2021, 9:15am UTC](https://forums.percona.com/t/can-i-create-percona-xtradb-cluster-on-existing-standalone-mysql-database-non-percona/11018/1 "2021-06-24T09:15:23Z")

</div>

Hi All

I’m relatively new to Percona XtraDB Cluster, we are considering it as one of HA solution for already existing, standalone MySQL instances (not Percona MySQL server).

So here is my question. I went through all FAQs on your blog and in docs, but it doesn’t say it explicitly. We have 100GB standalone database on server X running on port 3306. Can I install XtraDB Cluster on this server and somehow “plug” already standalone MySQL instance to the cluster and then add another nodes?  
Or it needs to be a separate XtraDB Cluster installation from scratch on a new servers and then we would have to perform a database migration?

Thank you in advance for reply.

Regards,  
Antonio

---

<div class="post-metadata">

### Author: ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)
#### Post date: [June 24, 2021, 6:12pm UTC](https://forums.percona.com/t/can-i-create-percona-xtradb-cluster-on-existing-standalone-mysql-database-non-percona/11018/2 "2021-06-24T18:12:25Z")

</div>

Hello @M00n1 ,  
Welcome to Percona! Yes, you can do this. Percona MySQL is a drop-in replacement for Community MySQL. Here’s what you need to do:

1. Stop existing mysql
2. Remove mysql packages (this does not remove data)
3. install Percona XtraDB Cluster package for same exact version you were running
4. Configure wsrep parameters in my.cnf
5. Start PXC on this node in bootstrap mode
6. create node2. install pxc packages. configure my.cnf. start mysql normally. it will join node1 and sync the dataset.
7. repeat for node3
