• mysql乱码问题


    参考http://www.cnblogs.com/sunzn/archive/2013/03/14/2960248.html

    # 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]
     
    character-set-server=utf8
     
    port=3306
     
    basedir  ="F:mysql/"
     
    datadir  ="F:mysql/data/"
     
    tmpdir   ="F:mysql/data/"
     
    socket   ="F:mysql/data/mysql.sock"
     
    log-error="F:mysql/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="F:mysql/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="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
     
    #sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
  • 相关阅读:
    C# TcpServer调试工具
    C#调用百度AI开发平台
    MVC 身份证图像识别(调用dll)
    12.智能快递柜(其他功能)
    智能信报箱
    北斗卫星短信平台
    11.智能快递柜(用户寄件)
    WindowServer优化
    13.智能快递柜(对接流程)
    sublime text3 手动安装插件package control
  • 原文地址:https://www.cnblogs.com/xuerong/p/6802999.html
Copyright © 2020-2023  润新知