Error in query, Please check it.MySQL server has gone away
SELECT * FROM b_daily_quote where MONTH(daily_quote_date)='10' and DAYOFMONTH(daily_quote_date)='17' and daily_quote_status=1