【问题标题】:where to find the my.ini config file for a MySQL 5.6 Windows Install在哪里可以找到 MySQL 5.6 Windows 安装的 my.ini 配置文件
【发布时间】:2015-02-23 14:09:18
【问题描述】:

有一些内存问题 - 500000 条记录一些查询停止。

我想为安装在 Windows 8 上的 MySQL 增加内存。在阅读中 - 许多人建议更改这些值:

key_buffer_size         = 1G
sort_buffer_size        = 16M
tmp_table_size          = 4G
max_heap_table_size     = 8G
read_buffer_size        = 512K
read_rnd_buffer_size    = 512K
myisam_sort_buffer_size = 4G

在少数中。

谁能告诉我在哪里可以找到配置文件 - 或者在哪里放置我自己的?,(因为我不想每次启动时都更改这些。)

【问题讨论】:

    标签: mysql configuration


    【解决方案1】:

    C:\ProgramData\MySQL\MySQL Server 5.6\my.ini

    请注意它是“ProgramData”而不是“Program Files”。

    虽然,您可能会在“C:\Program Files\MySQL\MySQL Server 5.6/”中找到一个“MySQL”文件夹和一个“my-default.ini”

    (# *** 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.)
    

    C:\ProgramData\MySQL\MySQL 服务器 5.6\my.ini 是您要编辑的那个。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-11-13
      • 1970-01-01
      • 2016-09-19
      • 2011-02-10
      • 1970-01-01
      • 2015-07-09
      • 2020-10-03
      • 1970-01-01
      相关资源
      最近更新 更多