We have new server set up with Linux and Mysql.
We have installed lib_mysqludf_xql there. In old server strored procedure which use mysqludf working fine , the code is
SET @qry = concat('select xql_agg(''manufacturers'' as `xql:root`, xql_element('
,' ''manufacturer'' as `xql:child`, manufacturername, manufacturerid as id, pcount)) from'
,' (select pm.manufacturerid, pm.manufacturername, count(*) as pcount from ', @tprod
,' pm LEFT JOIN ',@tprice, ' pr ON pm.productid = pr.productid where 1=1', @condn
, ' group by pm.manufacturerid, pm.manufacturername)as t INTO @mfrlist');
PREPARE qry from @qry; EXECUTE qry; DEALLOCATE PREPARE qry;
In old server mysql location is in “var\lib” but on new server it is in “data02\mysql”.
Also we face proplem while installing lib_mysqludf_xql but finally it got installed. I am new to Linux and Mysql environment, error “Incorrect parameters in the call to stored function 'xql_element'” it is showing even lib_mysqludf_xql is not installed even after lib_mysqludf_xql is installed same error is there.