# How to change config of mysql after install?

**URL:** <https://forums.percona.com/t/how-to-change-config-of-mysql-after-install/9370>\
**Category:** Percona Operator for MySQL\
**Created:** [February 22, 2021, 6:17pm UTC](https://forums.percona.com/t/how-to-change-config-of-mysql-after-install/9370 "2021-02-22T18:17:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![namvan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/namvan/32/2959_2.png) [@namvan](https://forums.percona.com/u/namvan)\
**Post date:** [February 22, 2021, 6:17pm UTC](https://forums.percona.com/t/how-to-change-config-of-mysql-after-install/9370/1 "2021-02-22T18:17:58Z")

</div>

I deployed mysqlcluster percona helm charts pxc operator, I can not change config for mysql from config map: auto-mysqlcluster-pxc-db-pxc. After I changed, It was reseted.  
I tried to create config map named “mysqlcluster-pxc-db-pxc” but not affected.

---

<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:** [February 22, 2021, 8:16pm UTC](https://forums.percona.com/t/how-to-change-config-of-mysql-after-install/9370/2 "2021-02-22T20:16:50Z")

</div>

@namvan  
I’ve just checked on my deployment.  
After you create config map “mysqlcluster-pxc-db-pxc” , you need to restart pods one by one, so after the restart a pod will pickup a new config

---

<div class="post-metadata">

**Author:** ![namvan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/namvan/32/2959_2.png) [@namvan](https://forums.percona.com/u/namvan)\
**Post date:** [February 23, 2021, 5:08pm UTC](https://forums.percona.com/t/how-to-change-config-of-mysql-after-install/9370/3 "2021-02-23T17:08:43Z")

</div>

Thank you for your help.  
I did wrong restart by run (nothing restarted):  
kubectl rollout restart statefulset…  
I delete pods and config affected.
