I need to make a master-slave replication for some joomla portals. However, high traffic means that a lot of inserts, deletes and updates happen on the %_session tables, something that isn't really necessary to replicate.
So, I've added the following line to my master's my.cnf file:
replicate-wild-ignore-table=%.%\_session
I've stopped and started the master server, but when I check the bin.logs, I can see that all operations with _session tables are still recorded and prepared to be sent to the slave.
So my question is, how do I force the master to ignore any and all operations on tables that end in _session?