# Enable row based replication in clover

**URL:** <https://forum.cloverdx.com/t/enable-row-based-replication-in-clover/594>\
**Category:** CloverDX Platform\
**Created:** [September 17, 2009, 12:00am UTC](https://forum.cloverdx.com/t/enable-row-based-replication-in-clover/594 "2009-09-17T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric.lin](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@eric.lin](https://forum.cloverdx.com/u/eric.lin)\
**Post date:** [September 17, 2009, 12:00am UTC](https://forum.cloverdx.com/t/enable-row-based-replication-in-clover/594/1 "2009-09-17T00:00:00Z")

</div>

I am trying to enable the row based replication for mysql connection in clover by calling “SET SESSION binlog\_format = ‘ROW’;” in phase 0 of a graph.

I was thinking that different nodes using the same db connection will be using the same session of mysql, but apparently I was wrong.

My question is how I can enable clover to have the same mysql session for different db connection nodes in the same graph?

For example, I have two DBExecute nodes in my graph and I want them to have the same mysql session when being executed, rather than two different sessions.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)\
**Post date:** [September 17, 2009, 6:38am UTC](https://forum.cloverdx.com/t/enable-row-based-replication-in-clover/594/2 "2009-09-17T06:38:16Z")

</div>

Just set _threadSafeConnection_ attribute to false. Then all graph elements, that use the connection, use the same session (see [Database Connections](http://www.cloveretl.com/documentation/UserGuide/topic/com.cloveretl.gui.docs/docs/database-connections.html)).
