Jump to content
MDDHosting Forums

Editing my.cnf (mySQL settings)


Recommended Posts

Looking at recommendations from scripts that evaluate your mySQL performance, I want to tinker with some settings. Because I'll change a setting, wait a while, then change it again, I don't want to be putting in more tickets (even though I'm sure MDD doesn't mind, I find I learn better by "doing"). Using "which mysql", I see that the active mySql is /usr/bin/mysql. Using "locate my.cnf", the configuration file, I get these results:

 

/etc/my.cnf

/root/.my.cnf

/usr/local/cpanel/whostmgr/my.cnf

/var/cpanel/configs.cache/_root_my.cnf_<long key number here>

 

So which one of those do I edit to make changes?

Link to comment
Share on other sites

It would be /etc/my.cnf however I wouldn't suggest messing with it unless you know what you're doing or you can cause MySQL downtime and at worst, database corruption. Do be careful or open a ticket.

 

OK, you talked me into another ticket! :)

 

No hurry on this one, the VPS is running fine, and my customers are happy. I do have several Wordpress and forum sites on the server, so there are fair number of queries happening.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...