Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7509679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:59:23+00:00 2026-05-29T22:59:23+00:00

What I want to do is pretty simple. I would like to have sync

  • 0

What I want to do is pretty simple. I would like to have sync for www and mysql/data folder sync.

I have successful make the change, first I point www folder to dropbox, and change the my.ini

datadir=C:/Dropbox/web/mysql/data

(note: I know some ppls might comment, it is not good to have the mysql data sync, and try to use remote mysql database, but my problem is I do not have internet connection all the time, or my internet connection is pretty bad / slow), I just like localhost speed 🙂

Now my problem is, inside my C:/Dropbox/web/mysql/data there is a lot mysql-bin.0000xy file. How I can remove it, and totally disable the log in mysql.

I had tried.
login to root in mysql run

SHOW VARIABLES;
SET sql_log_bin=0;
SET GLOBAL expire_logs_days=10;
FLUSH LOGS; 
PURGE BINARY LOGS TO 'mysql-bin.000001'; 
PURGE BINARY LOGS BEFORE '2011-12-31 23:59:59'; 

The log files still appear inside C:/Dropbox/web/mysql/data

Next I tried this

SHOW BINARY LOGS;

Error Code : 1381
You are not using binary logging

What I want just get rid for the log file inside my mysql data folder, so I can save the space, and dropbox do not need to sync it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:59:24+00:00Added an answer on May 29, 2026 at 10:59 pm

    http://systems.takizo.com/2009/08/23/how-to-remove-mysql-binary-log/

    To clean up Binary Log on Master Server

    shell> mysql -u username -p
    mysql> RESET MASTER;
    

    A client that has the SUPER privilege can disable binary logging of its own statements by using a

    SET sql_log_bin = ‘OFF’

    statement.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Should be pretty simple: I have an InputStream where I want to peek at
First I would like to say that I have only worked with java for
i would like to create a pretty simple combat system in JQuery, for a
I have a pretty simple question. Im just learning Maps and multimaps and want
This is probably pretty simple. I want to select all elements of a given
Pretty simple. What is the difference among those three? I want to list every
Question is pretty self explanitory. I want to do a simple find and replace,
What I want to do is pretty straightforward. I have a site powered by
I have a pretty simple question, but for some reason I am drawing a
I have a probably pretty simple question but I am still not sure! Actually

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.