MySQL server error report:Array
(
    [0] => Array
        (
            [message] => MySQL Query Error
        )

    [1] => Array
        (
            [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show,c.is_xcx_show,  c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `OK_ELEC`.`ok_category` AS c LEFT JOIN `OK_ELEC`.`ok_category` AS s ON s.parent_id=c.cat_id where c.is_virtual= '0' GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC
        )

    [2] => Array
        (
            [error] => MySQL server has gone away
        )

    [3] => Array
        (
            [errno] => 2006
        )

)
MySQL server error report:Array
(
    [0] => Array
        (
            [message] => MySQL Query Error
        )

    [1] => Array
        (
            [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show,c.is_xcx_show,  c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `OK_ELEC`.`ok_category` AS c LEFT JOIN `OK_ELEC`.`ok_category` AS s ON s.parent_id=c.cat_id where c.is_virtual= '0' GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC
        )

    [2] => Array
        (
            [error] => MySQL server has gone away
        )

    [3] => Array
        (
            [errno] => 2006
        )

    [4] => Array
        (
            [message] => MySQL Query Error
        )

    [5] => Array
        (
            [sql] => UPDATE `OK_ELEC`.`ok_sessions` SET expiry = '1732726442', ip = '18.223.210.249', userid = '0', adminid = '0', user_name='0', user_rank='0', discount='1', email='0', data = 'a:3:{s:7:\"from_ad\";i:0;s:7:\"referer\";s:6:\"本站\";s:10:\"login_fail\";i:0;}' WHERE sesskey = 'c56d5337622adf1cd28518abbe180bc6' LIMIT 1
        )

    [6] => Array
        (
            [error] => MySQL server has gone away
        )

    [7] => Array
        (
            [errno] => 2006
        )

)