zoukankan      html  css  js  c++  java
  • my.conf配置信息

    # mysql conf /etc/my.cnf
    # Created by http://www.wdlinux.cn
    # Last Updated 2010.06.01

    [client]
    port = 3306
    socket = /tmp/mysql.sock
    [mysql]
    no-auto-rehash
    [mysqld]
    port = 3306
    socket = /tmp/mysql.sock


    key_buffer_size = 2048M
    max_allowed_packet = 16M
    sort_buffer_size = 32M
    read_buffer_size = 32M
    thread_cache_size = 300
    query_cache_size = 64M
    thread_concurrency = 8
    max_connections = 3000
    max_connect_errors = 6000
    table_open_cache = 4096
    table_cache = 614
    wait_timeout = 100
    query_cache_limit = 4M
    interactive_timeout = 30
    max_connect_errors = 9
    innodb_buffer_pool_size=4G
    #long_query_time = 1
    #slow-query-log=1
    #slow-query-log-file=slow.log
    tmp_table_size = 2G
    join_buffer_size = 2M
    back_log = 600
    #log-bin=mysql-bin
    #binlog_format=mixed
    #server-id = 1
    [mysqldump]
    quick
    max_allowed_packet = 32M
    [mysql]
    no-auto-rehash
    [myisamchk]
    key_buffer_size = 2048M
    sort_buffer_size = 32M
    read_buffer = 1M
    write_buffer = 2M
    [mysqlhotcopy]
    interactive-timeout

  • 相关阅读:
    Linux
    Other
    Linux
    VIM
    Linux
    其他
    Win10
    Win10
    IDE
    其他
  • 原文地址:https://www.cnblogs.com/chenjian/p/8875645.html
Copyright © 2011-2022 走看看