Knowledgebase

Portal Home > Knowledgebase > Articles Database > my.cnf / mysqltuner.pl


my.cnf / mysqltuner.pl




Posted by David-, 12-19-2010, 10:43 AM
Just restarted MySQL. Here is the output of mysqltuner.pl: My.CNF How do I perform MySQLTuners recommendations? I'm on a VPS. I have 512MB RAM Guaranteed, 1024MB burstable.

Posted by bsolaris, 12-19-2010, 12:47 PM
Why does everyone restart MySQL before they run the tuner. Let it run for a few days, run the tuner again then repost it. Running the tuner 13seconds after startup means you are then optimizing for an empty database, this is most likely not what you want to do.

Posted by barbus, 12-19-2010, 02:12 PM
Just add these parameters to your my.cnf and restart MySQL. Yes, you should wait for at least one day before using mysqltuner.

Posted by IDediServer Kevin, 12-19-2010, 06:25 PM
You would set the options underneath/below [mysqld] eg [mysqld] query_cache_size=8M tmp_table_size=32M

Posted by CoderJosh, 12-20-2010, 07:09 AM
It really doesn't make any sense to restart MySQL before running a script like mysqltuner, so you should wait for at least two days, run the script again and then consider its recommendations.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Reseller help! (Views: 590)
Redirect using NAT (Views: 558)
Hostgator (Views: 543)


Language:

Contact us