Hi ,
Can this in cronjobs..?
*/30 * * * * /etc/rc.d/init.d/mysqld restart
I try it , but no result
Then try this
*/30 * * * * /usr/local/mysql/bin/mysql -u root -p MYPAS <$HOME/mysql_flush_query_cache.sql > flush.log 2>&1
No result.
Somebody help.?
or a script to auto flush host.
The Point is we have a aplication on one server, but the script is on our second server, and every 2 houres, we get a flush host message.
Momently we do a mysql restart ( ssh or via DA )
But we have a nice cronjob , of file to do this.
File locate on /etc/rc.d/init.d/mysqld
Thx
Can this in cronjobs..?
*/30 * * * * /etc/rc.d/init.d/mysqld restart
I try it , but no result
Then try this
*/30 * * * * /usr/local/mysql/bin/mysql -u root -p MYPAS <$HOME/mysql_flush_query_cache.sql > flush.log 2>&1
No result.
Somebody help.?
or a script to auto flush host.
The Point is we have a aplication on one server, but the script is on our second server, and every 2 houres, we get a flush host message.
Momently we do a mysql restart ( ssh or via DA )
But we have a nice cronjob , of file to do this.
File locate on /etc/rc.d/init.d/mysqld
Thx