• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Can't change mysql memory after editing etc/my.cnf

GigaBlast

New Pleskian
Hello, i can't get the changes to take effect after editing super-spurious numerous php.ini files in plesk.

nothing works. all my setting keep getting overridden on this soding plesk vps.

I was told to use this guide for mylsq editing.
http://kb.parallels.com/en/111283


i edited /etc/my.cnf added this

innodb_buffer_pool_size = 384M
key_buffer = 256M
query_cache_size = 128M
query_cache_limit = 128M
thread_cache_size = 8
max_connections = 400
innodb_lock_wait_timeout = 100

restarted apache and mysql but never changes the database still has 8m mysql when the server has 2gb of ram

When i run show variables like 'innodb_buffer%'; it shows 8388608

I've spent all day on this and now given up. any help appreciated thanks
 
Make sure that you have not custom MySQL settings in /root/.my.cnf config file.
 
Hello IgorG, still not fixed.

[root@vps35856886 ~]# more /root/.my.cnf
/root/.my.cnf: No such file or directory
 
Can you post your entire my.cnf please? I'm just wondering if the addition you made might be in some section that is not read by default or something unusual like that. I doubt this is what's happening, but just in case.......
 
Perhaps you should first use the official cnf files for mysql at

/usr/share/mysql/my-innodb-heavy-4G.cnf
/usr/share/mysql/my-medium.cnf
/usr/share/mysql/my-huge.cnf
/usr/share/mysql/my-large.cnf
/usr/share/mysql/my-small.cnf

Go to /etc/
rename my.cnf in my.cnf.bak

you just need to rename one of the files from /usr/share/mysql to my.cnf and copy it to /etc/
 
Thanks for answers guys. I forgot about this post. As i just posted the fix which according to my host was doing a servers myslqd restart wasn't enough? could that be
Link
 
Back
Top