How to disable synchronisation for a mySQL database table

February 23, 2015   /   by Marco  / Categories :  Technology, Websites
mysql database table no replication my ini file

In a previous post, I wrote an article on how to setup database replication using mySQL. I recently had to figure out a way to exclude a database table in the replication process and this is what I had to do:

NOTE: I’m using WAMP as my website hosting software

Open up the my.ini file under in the following location:

C:\wamp\bin\mysql\mysql[version]\

mysql database table no replication

In the section [mysqld] add the following syntax:

replicate-wild-ignore-table=[databasename].[tablename]

Just replace [databasename] with the name of your database and [tablename] with the name of your database table. If you want to include several table names you can use the wildcard % e.g

test.log%

mysql database table no replication my ini file

This will disable any replication of database tables with the name log.

Once you have saved the changes make sure you restart the WAMP services.

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


USING BUTTERNUT.AI TO CREATE PROFESSIONAL WEBSITES

Having a professional and efficient website is crucial for any business looking to thrive online. With the constant advancements in technology, it can be overwhelming to keep up with the latest tools and platforms available for website creation. However, by leveraging the innovative capabilities of Butternut.ai, businesses can maximize their efficiency and create stunning websites […]

read more
EASY AND SIMPLE AI VIDEO EDITING SOFTWARE

EASY AND SIMPLE AI VIDEO EDITING SOFTWARE

Imagine your favourite movie scene transformed into a video in minutes, not hours. Thanks to advancements in technology, editing software has become increasingly user-friendly. Wondershare’s Filmora 14 stands as a prime example, boasting an array of AI features that simplify the editing process, with AI voice capabilities that could turn your voiceover dreams into a […]

read more

Like our Page