<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error executing CREATE FUNCTION NX_IN_TREE in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/error-executing-create-function-nx-in-tree/m-p/324933#M11934</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Using nuxeo 5.6,its working fine. When i am changing my both machine's ip nuxeo-web and nuxeo db,On starting the nuxeo service getting error of repository not found and not able to login and also getting error of org.nuxeo.ecm.core.storage.StorageException:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;java.sql.SQLException: Error executing: CREATE FUNCTION NX_IN_TREE(id varchar(36), baseid varchar(36))
RETURNS BOOLEAN
LANGUAGE SQL
READS SQL DATA
BEGIN
  DECLARE curid varchar(36) DEFAULT id;
  IF baseid IS NULL OR id IS NULL OR baseid = id THEN
    RETURN FALSE;
  END IF;
  LOOP
    SELECT parentid INTO curid FROM hierarchy WHERE hierarchy.id = curid;
    IF curid IS NULL THEN
      RETURN FALSE;
    ELSEIF curid = baseid THEN
      RETURN TRUE;
    END IF;
  END LOOP;
END : You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
                                                                                                                             10986,9       94%
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;also, Please tell me asap&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2013 09:48:40 GMT</pubDate>
    <dc:creator>bharat4212_</dc:creator>
    <dc:date>2013-07-04T09:48:40Z</dc:date>
    <item>
      <title>Error executing CREATE FUNCTION NX_IN_TREE</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-executing-create-function-nx-in-tree/m-p/324933#M11934</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Using nuxeo 5.6,its working fine. When i am changing my both machine's ip nuxeo-web and nuxeo db,On starting the nuxeo service getting error of repository not found and not able to login and also getting error of org.nuxeo.ecm.core.storage.StorageException:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;java.sql.SQLException: Error executing: CREATE FUNCTION NX_IN_TREE(id varchar(36), baseid varchar(36))
RETURNS BOOLEAN
LANGUAGE SQL
READS SQL DATA
BEGIN
  DECLARE curid varchar(36) DEFAULT id;
  IF baseid IS NULL OR id IS NULL OR baseid = id THEN
    RETURN FALSE;
  END IF;
  LOOP
    SELECT parentid INTO curid FROM hierarchy WHERE hierarchy.id = curid;
    IF curid IS NULL THEN
      RETURN FALSE;
    ELSEIF curid = baseid THEN
      RETURN TRUE;
    END IF;
  END LOOP;
END : You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
                                                                                                                             10986,9       94%
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;also, Please tell me asap&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2013 09:48:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-executing-create-function-nx-in-tree/m-p/324933#M11934</guid>
      <dc:creator>bharat4212_</dc:creator>
      <dc:date>2013-07-04T09:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing CREATE FUNCTION NX_IN_TREE</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-executing-create-function-nx-in-tree/m-p/324934#M11935</link>
      <description>&lt;P&gt;In order to be able to help with a question like this really need to know some basic information&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2013 13:21:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-executing-create-function-nx-in-tree/m-p/324934#M11935</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2013-07-05T13:21:11Z</dc:date>
    </item>
  </channel>
</rss>

