MySQL之my.cnf配置

來源:互聯網
上載者:User

標籤:char   lock   html   .com   during   sed   ati   home   default   

####################設定檔開始################### # For advice on how to change settings please see # http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html # *** DO NOT EDIT THIS FILE. It‘s a template which will be copied to the # *** default location during install, and will be replaced if you # *** upgrade to a newer version of MySQL. [client] default-character-set=utf8  [mysqld]#skip-grant-tables port=3306 user = root basedir  ="/usr/local/mysql/mysql5.6.24/" datadir  ="/usr/local/mysql/mysql5.6.24/data/" tmpdir   ="/usr/local/mysql/mysql5.6.24/data/" socket   ="/usr/local/mysql/mysql5.6.24/data/mysql.sock" log-error="/usr/local/mysql/mysql5.6.24/data/mysql_error.log"  #server_id = 2 #skip-locking  max_connections=100 table_open_cache=256 query_cache_size=1M  tmp_table_size=32M thread_cache_size=8  innodb_data_home_dir="/usr/local/mysql/mysql5.6.24/data/" innodb_flush_log_at_trx_commit =1 innodb_log_buffer_size=128M innodb_buffer_pool_size=128M innodb_log_file_size=10M innodb_thread_concurrency=16 innodb-autoextend-increment=1000 join_buffer_size = 128M sort_buffer_size = 32M read_rnd_buffer_size = 32M max_allowed_packet = 32M explicit_defaults_for_timestamp=true sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" #sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES# innodb_force_recovery= 1####################設定檔結束###################

  

MySQL之my.cnf配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.