<?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 Re: What is the implication without secure_file_priv=null with MySQL 8.0 as end point? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-implication-without-secure-file-priv-null-with-MySQL/m-p/1907309#M2135</link>
    <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;We will definitely like to use LOAD DATA which is faster. We have a value set for secure_file_privs to a path, not null. I read in the link that it requires set to NULL, but if this is not the case we should be good.&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/MySQL/prereq_mysql.htm?_ga=2.206128851.1567605253.1647499868-1077321936.1644194995" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/MySQL/prereq_mysql.htm?_ga=2.206128851.1567605253.1647499868-1077321936.1644194995&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In order to work with MYSQL 8 as a target endpoint, you need to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Set the parameter &lt;CODE&gt;secure_file_priv = NULL &lt;/CODE&gt;in the MySQL database.&lt;/LI&gt;
&lt;LI&gt;If you are using LOB columns, set the parameter &lt;CODE&gt;sort_buffer_size = 128M&lt;/CODE&gt; in the MySQL database.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;Desmond&lt;/P&gt;</description>
    <pubDate>Sun, 20 Mar 2022 02:43:07 GMT</pubDate>
    <dc:creator>desmondchew</dc:creator>
    <dc:date>2022-03-20T02:43:07Z</dc:date>
    <item>
      <title>What is the implication without secure_file_priv=null with MySQL 8.0 as end point?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-implication-without-secure-file-priv-null-with-MySQL/m-p/1907227#M2131</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are using Oracle 11.2.0.4 as source while target database MySQL 8.0.21 as end point in AWS.&lt;/P&gt;
&lt;P&gt;We have constraint setting "secure_file_priv"=null according to our infrastructure team. I see that Qlik has listed that as a prerequisites&amp;nbsp; &lt;A href="https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/MySQL/prereq_mysql.htm?_ga=2.206128851.1567605253.1647499868-1077321936.1644194995" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/MySQL/prereq_mysql.htm?_ga=2.206128851.1567605253.1647499868-1077321936.1644194995&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Is this parameter mandatory? Is there a workaround? What happen if it is not set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;BR /&gt;Desmond&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2022 00:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-implication-without-secure-file-priv-null-with-MySQL/m-p/1907227#M2131</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-03-19T00:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: What is the implication without secure_file_priv=null with MySQL 8.0 as end point?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-implication-without-secure-file-priv-null-with-MySQL/m-p/1907262#M2132</link>
      <description>&lt;P&gt;Hello Desmond,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, Looks to me&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;secure_file_priv = NULL&lt;/FONT&gt; &lt;/STRONG&gt;is not a real MySQL target prerequisites in Qlik Replicate.&amp;nbsp; Maybe a documentation defect, please open a support ticket (with a proper priority) to get the documentation amended.&lt;/P&gt;&lt;P&gt;According MySQL docs &lt;A title="secure_file_priv" href="https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html" target="_blank" rel="noopener"&gt;secure_file_priv&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If set to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;NULL, the server disables import and export operations.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;that means the "LOAD DATA LOCAL INFILE" will be disabled, Replicate cannot run Full Load and/or CDC under LOAD mode any more. By default Replicate uses CSV files to load data to MySQL database to gain the best performance.&amp;nbsp; In general it's not recommended to set it to NULL.&lt;/P&gt;&lt;P&gt;However if it's NULL by your organizations secure rule, then&amp;nbsp; You need to turn off the LOAD mode in MySQL Target Endpoint by adding an internal parameter "loadUsingCSV" and setting it to OFF, as below.&amp;nbsp; Replicate will then use "INSERT" statements rather than "LOAD DATA" to replicate data from Oracle to MySQL.&lt;/P&gt;&lt;P&gt;Please take note that non-LOAD mode is significantly slower than LOAD mode, about 20~100 times slower (depends on the environment and data volumes).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1647689796986.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74898iDC69CAE74C76F7BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1647689796986.png" alt="john_wang_0-1647689796986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2022 12:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-implication-without-secure-file-priv-null-with-MySQL/m-p/1907262#M2132</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-03-19T12:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: What is the implication without secure_file_priv=null with MySQL 8.0 as end point?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-implication-without-secure-file-priv-null-with-MySQL/m-p/1907309#M2135</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;We will definitely like to use LOAD DATA which is faster. We have a value set for secure_file_privs to a path, not null. I read in the link that it requires set to NULL, but if this is not the case we should be good.&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/MySQL/prereq_mysql.htm?_ga=2.206128851.1567605253.1647499868-1077321936.1644194995" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/MySQL/prereq_mysql.htm?_ga=2.206128851.1567605253.1647499868-1077321936.1644194995&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In order to work with MYSQL 8 as a target endpoint, you need to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Set the parameter &lt;CODE&gt;secure_file_priv = NULL &lt;/CODE&gt;in the MySQL database.&lt;/LI&gt;
&lt;LI&gt;If you are using LOB columns, set the parameter &lt;CODE&gt;sort_buffer_size = 128M&lt;/CODE&gt; in the MySQL database.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 02:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-implication-without-secure-file-priv-null-with-MySQL/m-p/1907309#M2135</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-03-20T02:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: What is the implication without secure_file_priv=null with MySQL 8.0 as end point?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-implication-without-secure-file-priv-null-with-MySQL/m-p/1907311#M2136</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the update. So far your settings are good.&lt;/P&gt;&lt;P&gt;I noticed the first requirement however looks like it's inaccurate. Please raise an support ticket so far support team will confirm it for you, and certainly we will modify the docs if necessary.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 02:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-implication-without-secure-file-priv-null-with-MySQL/m-p/1907311#M2136</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-03-20T02:53:17Z</dc:date>
    </item>
  </channel>
</rss>

