MySQL的bin目录下没有my-default.ini和my.ini(都没有),影响使用吗,或者说 那个文件是干嘛的

解决方案 »

  1.   

    参考:http://bbs.csdn.net/topics/390340540
      

  2.   

    详细信息参考下面网址:
    http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html具体内容如下:主要是数据库的通用设置[mysqld]# Remove leading # and set to the amount of RAM for the most important data
    # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
    # innodb_buffer_pool_size = 128M# Remove leading # to turn on a very important data integrity option: logging
    # changes to the binary log between backups.
    # log_bin# These are commonly set, remove the # and set as required.
    # basedir = .....
    # datadir = .....
    # port = .....
    # server_id = .....
    # socket = .....# Remove leading # to set options mainly useful for reporting servers.
    # The server defaults are faster for transactions and fast SELECTs.
    # Adjust sizes as needed, experiment to find the optimal values.r advice on how to change settings please see
      

  3.   


    # Remove leading # to set options mainly useful for reporting servers.
    # The server defaults are faster for transactions and fast SELECTs.
    # Adjust sizes as needed, experiment to find the optimal values.
    # join_buffer_size = 128M
    # sort_buffer_size = 2M
    # read_rnd_buffer_size = 2Msql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
    # lower_case_table_names = 1主要使用的就是红色的这句话