Allocating more Memory to a Particular Database
Hi all,
Brand new user to cPanel and the Forums.
Please let me know any information I should always provide when asking a question.
I'm running CENTOS 6.6 x86_64 virtuozzo with WHM 11.48.1 (build 3)
I've installed wordpress for a customer and a mysql database was created for it and I then imported all the backed-up records.
All seemed to go well but when you go to the website front-end and do a search, random memory errors pop up and I've been told to increase the memory for that particular database and that might fix it.
I think I have two options but need advice or help on it.
1) Use Phpmyadmin or
2) edit the my.cnf file through a command line program such as pUTTY.
I'm unfamiliar with both so whatever's easier or if there is another way.
Thanks, Lee.
-
Hi, for anyone else with a similar issue I think I've found the fix. When logged into the WHM look down the left menu until you see; Service Configuration > PHP Configuration Editor The setting is called 'memory_limit' and was set at 32M for me. I increased it to 128M and clicked Save. It fixed the memory issues I was having with Wordpress but I think this Fix does a memory increase for all databases, not a specific one? Not sure how to do it for just one database. 0
Please sign in to leave a comment.
Comments
2 comments