mysql connection cron issue

sreeninair

Well-Known Member
Dec 23, 2013
100
0
16
cPanel Access Level
Root Administrator
Hello,

I am getting email of failed cron job. The cron is trying to access mysql. It is working fine when executing manually. Please let me know how to fix it

-------------------------------------
~]# cat /etc/my.cnf
[mysqld]
#skip-innodb
datadir=/var/lib/mysql
set-variable = max_connections=250
set-variable = max_user_connections=50
local-infile=0
wait_timeout = 150
query_cache_size = 16M
thread_cache_size = 16M
------------------------------------