MySQL – Stop replication
If you want to mysql slave to stop replicating from your master db server you might want to start removing all the replication entries from my.conf.
After you have done this you might experience that your server still wants to connect to the master.
In order to stop this, you need to remove a file called master.info.
rm /var/lib/mysql/master.info
After a mysql restart replication should be gone.