首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MYSQL5.7 my.ini文件未反射

MYSQL5.7 my.ini文件未反射
EN

Stack Overflow用户
提问于 2017-02-25 09:07:33
回答 1查看 190关注 0票数 0

我使用的是MYSQL5.7,它是使用Windows中的msi选项安装的。我想要更改innodb_buffer_pool_size。我检查了stackoverflow,找出了如何更改mysql.ini文件。

对于MYSQL5.7,我尝试更改下面位置中的my.ini文件,如堆栈溢出中所述。

Option1;

代码语言:javascript
复制
C:\Program Files\MySQL\MySQL Server 5.7.  I made the changes in the my-default.ini file and stopped the mysql service and started again.  Its not working

So i copied the my-default.ini to my.ini and tried again. Its not working

Option2:

代码语言:javascript
复制
    I echo the programdata, then i found another location. C:\ProgramData\MySQL and in that i found 4 ini files. I changed everything and stopped and started the MYSQL service. Its also not working. 

Please help me to understand why the ini file is not reflected and how to resolve this issue
EN

回答 1

Stack Overflow用户

发布于 2021-03-10 22:44:49

将my.ini文件保存在stall mysql位置,然后运行net stop mysqlnet run mysql。如果net run mysql没问题,那么my.ini也没问题。

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42450766

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档