日志文件只有当天的文件不能删除外,其它的都能删.
不想再出现日志文件的话,就在my.ini文件中把,日志文件的选项注释掉就行了.
#Enter a name for the query log file. Otherwise a default name will be used.
#log=

解决方案 »

  1.   

    RESET MASTERDeletes all binary logs listed in the index file, resets the binary log index file to be empty, and creates a new binary log file.This statement was named FLUSH MASTER before MySQL 3.23.26.
      

  2.   

    我的配置  帮帮忙[client]
    port=3306
    [mysql]
    default-character-set=gbk
    [mysqld]
    port=3306
    basedir="C:/MySQL/"
    datadir="C:/MySQL/Data/"
    default-character-set=gbk
    default-storage-engine=INNODB
    sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
    max_connections=100
    query_cache_size=0
    table_cache=256
    tmp_table_size=37M
    thread_cache_size=8
    myisam_max_sort_file_size=100G
    myisam_max_extra_sort_file_size=100G
    myisam_sort_buffer_size=74M
    key_buffer_size=60M
    read_rnd_buffer_size=256K
    sort_buffer_size=256K
    innodb_additional_mem_pool_size=2437K
    innodb_flush_log_at_trx_commit=0
    innodb_log_buffer_size=1194K
    innodb_buffer_pool_size=116M