Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Here is my.ini
# Replication Master Server (default) # binary logging is required for replication log-bin=mysql-bin
I'm trying to binary logging of mysql database.
Please suggest me to enable binary logging in MySQL Version 5.5.16
Yes, that is the configuration variable for enabling binary logging.
Did you restart the MySQL service? The service won't re-read the my.ini until you restart.
You can check that it's writing binary logs with the MySQL statement SHOW BINARY LOGS.
SHOW BINARY LOGS
Add a comment
Yes, Bill is right.. You did the right thing but if you did not restart your MySQL service it will not take effect.
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.