<?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: Replication tasks encountered the following error: Logging of database data is disabled in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885135#M1707</link>
    <description>&lt;P&gt;[updated post]&lt;/P&gt;
&lt;P&gt;I'm confused - you write "&lt;SPAN&gt;tasks that encountered licensing error&amp;nbsp;" as well as "&amp;nbsp;we do have the valid license." which is it? Show (log output) about the errors and and indication as to why the license should be valid. (New Year?!)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You wrote "unable to run CRC properly.&amp;nbsp;". Do you perhaps refer to CDC?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You wrote "logging of database is disabled" I suspect with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp; that this is just a warning, based on a deliberately chosen task setting, but I am a little confused why that is marked with a RED (X).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The latency is almost certainly due to failure to connect to the target endpoint as indicated by the red (x) next to the endpoint. That may well be due to an invalid license so Focus on the license first. Replicate can(is) licensed for specific endpoint. Got to the SERVER section in the UI and select license. look for target type, expiration date and server name. See attached example.&lt;/P&gt;
&lt;P&gt;The latency is just building a minute every minute as the Replicate apply engine gets a recoverable error when trying to connect in a loop. One a valid license is there it will move forward. It is likely confirmed in the logs already. Start at the end, look for target_apply backward. What are the messages? If not clear enough try increasing log level for target_apply to trace or verbose for a while.&lt;/P&gt;
&lt;P&gt;Please also try improve your trouble shooting skills! Always add source DB type and version, target DB type and replicate version to a problem. Try to get actual TEXT in text (not picture) format. Why provide a picture with half a message if you can click on the message and copy the actual text. See second attachment. The text is probably also to be found in the &amp;lt;replicatedata&amp;gt;\logs\reptask__&amp;lt;taskname&amp;gt;.log file(s).&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;Hein&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 15:40:08 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2022-01-25T15:40:08Z</dc:date>
    <item>
      <title>Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1884783#M1693</link>
      <description>&lt;P&gt;We have several tasks that encountered licensing error and unable to run CRC properly. This happened after we tried to reload tables in the tasks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Log file shows logging of database is disabled but we do have the valid license.&lt;/P&gt;
&lt;P&gt;Please let me know if you need further information for troubleshooting or any assistance to resolve this is highly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 01:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1884783#M1693</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-01-25T01:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1884784#M1694</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;The information "&lt;SPAN&gt;Logging of database data is disabled&lt;/SPAN&gt;" is irrelevant to your task failure. I've an article about the info&amp;nbsp;&lt;A title="Logging of database data is disabled" href="https://community.qlik.com/t5/Knowledge/How-to-decrypt-Qlik-Replicate-verbose-task-log-files/ta-p/1862114" target="_blank" rel="noopener"&gt;Logging of database data is disabled&lt;/A&gt;&amp;nbsp;. Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 02:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1884784#M1694</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-01-25T02:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1884788#M1695</link>
      <description>&lt;P&gt;Thanks for clarifying so that I am not looking into the wrong direction. I am seeing high latency in apply. Should I turn on verbose logging? I will share the logs here.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 02:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1884788#M1695</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-01-25T02:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1884789#M1696</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.&lt;/P&gt;&lt;P&gt;Set logging component PERFORMANCE to Trace is a good start, keep it running more than half hour will be better, or keep it until you get the latency occurs the collect Diagnostics Packages.&lt;/P&gt;&lt;P&gt;Please do not share the logs here because of Security reason and it's impossible to download the attachment to our local machine, I'd like suggest you to open support case for the latency issue.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 02:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1884789#M1696</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-01-25T02:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885060#M1704</link>
      <description>&lt;P&gt;Hi John,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply. I have open a case but it seems not pick up yet. Case id: 00022189. &lt;/P&gt;
&lt;P&gt;I have set the logging component to performance for the respective task. It's been running for a while. I would really like to work closely to resolve this issue.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 14:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885060#M1704</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-01-25T14:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885135#M1707</link>
      <description>&lt;P&gt;[updated post]&lt;/P&gt;
&lt;P&gt;I'm confused - you write "&lt;SPAN&gt;tasks that encountered licensing error&amp;nbsp;" as well as "&amp;nbsp;we do have the valid license." which is it? Show (log output) about the errors and and indication as to why the license should be valid. (New Year?!)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You wrote "unable to run CRC properly.&amp;nbsp;". Do you perhaps refer to CDC?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You wrote "logging of database is disabled" I suspect with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp; that this is just a warning, based on a deliberately chosen task setting, but I am a little confused why that is marked with a RED (X).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The latency is almost certainly due to failure to connect to the target endpoint as indicated by the red (x) next to the endpoint. That may well be due to an invalid license so Focus on the license first. Replicate can(is) licensed for specific endpoint. Got to the SERVER section in the UI and select license. look for target type, expiration date and server name. See attached example.&lt;/P&gt;
&lt;P&gt;The latency is just building a minute every minute as the Replicate apply engine gets a recoverable error when trying to connect in a loop. One a valid license is there it will move forward. It is likely confirmed in the logs already. Start at the end, look for target_apply backward. What are the messages? If not clear enough try increasing log level for target_apply to trace or verbose for a while.&lt;/P&gt;
&lt;P&gt;Please also try improve your trouble shooting skills! Always add source DB type and version, target DB type and replicate version to a problem. Try to get actual TEXT in text (not picture) format. Why provide a picture with half a message if you can click on the message and copy the actual text. See second attachment. The text is probably also to be found in the &amp;lt;replicatedata&amp;gt;\logs\reptask__&amp;lt;taskname&amp;gt;.log file(s).&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;Hein&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 15:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885135#M1707</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-01-25T15:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885366#M1721</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please see attached source and target license. We do have a valid license.&lt;/P&gt;
&lt;TABLE class="ng-scope"&gt;
&lt;TBODY&gt;
&lt;TR class="ng-scope"&gt;
&lt;TD class="ng-binding"&gt;Source Types&lt;/TD&gt;
&lt;TD class="ng-binding"&gt;FileChannel,Oracle&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR class="ng-scope"&gt;
&lt;TD class="ng-binding"&gt;Target Types&lt;/TD&gt;
&lt;TD class="ng-binding"&gt;FileChannel,MySQL,Oracle&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR class="ng-scope"&gt;
&lt;TD class="ng-binding"&gt;Usage&lt;/TD&gt;
&lt;TD class="ng-binding"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR class="ng-scope"&gt;
&lt;TD class="ng-binding"&gt;Version&lt;/TD&gt;
&lt;TD class="ng-binding"&gt;6.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see excerpt of the log file - reptask_NAVI_DEV4.log. I have replaced all the variables or values that could be sensitive. The error I spotted is on &lt;STRONG&gt;Illegal mix of collations&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;00005012: 2022-01-25T21:49:44 [TARGET_APPLY ]E: Failed to get bulk update statement for table 'DB_DEV1'.'DB_TABLE_A' [1022502] (odbc_util.c:4204)&lt;BR /&gt;00005012: 2022-01-25T21:49:44 [TARGET_APPLY ]E: Failed to apply UPDATE (3) for table 9 [1022502] (bulk_apply.c:2983)&lt;BR /&gt;00005012: 2022-01-25T21:49:44 [TARGET_APPLY ]E: Error forwarding bulk [1022502] (bulk_apply.c:826)&lt;BR /&gt;00005012: 2022-01-25T21:49:44 [TARGET_APPLY ]I: Error executing data handler [1022502] (streamcomponent.c:1998)&lt;BR /&gt;00005012: 2022-01-25T21:49:44 [TASK_MANAGER ]I: Stream component failed at subtask 0, component st_0_MySQL_DEV [1022502] (subtask.c:1396)&lt;BR /&gt;00005012: 2022-01-25T21:49:44 [TARGET_APPLY ]I: Target component st_0_MySQL_DEV was detached because of recoverable error. Will try to reattach (subtask.c:1511)&lt;BR /&gt;00009084: 2022-01-25T21:49:44 [UTILITIES ]I: Mail "[servername1.com\Any errors] NAVI_DEV4:encountered errors" sent successfully (notification_manager.c:1916)&lt;BR /&gt;00005012: 2022-01-25T21:49:49 [STREAM_COMPONEN ]I: Target last committed record id from the previous run is '6329' (streamcomponent.c:1661)&lt;BR /&gt;00005012: 2022-01-25T21:49:49 [TARGET_APPLY ]I: Going to connect to ODBC connection string: DRIVER={MySQL ODBC 8.0 Unicode Driver};SERVER=dev_db.com;PORT=3306;DATABASE=DB_DEV1;FOUND_ROWS=1;CHARSET=binary;NO_LOCALE=1;ENABLE_LOCAL_INFILE=1;UID=userid1; (odbc_endpoint_imp.c:2884)&lt;BR /&gt;00005012: 2022-01-25T21:49:49 [TARGET_APPLY ]I: ODBC driver version: '08.00.0024' (ar_odbc_conn.c:612)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: ODBC driver version: '08.00.0024' (ar_odbc_conn.c:612)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Target database time zone is UTC+0 hours (odbc_endpoint_imp.c:4748)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Target endpoint 'Mysqltarget' is using provider syntax 'MySQL' (provider_syntax_manager.c:879)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Transaction size is 10000. Array size is 1000. (odbc_endpoint_imp.c:972)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Loading tables in 2 parallel threads by default (odbc_endpoint_imp.c:1937)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Restore bulk state. Last bulk last record id - '0', last applied record id - '0', target confirmed record id - '6329', sorter confirmed record id - '6329' (endpointshell.c:1918)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Set Bulk Timeout = 30000 milliseconds (bulk_apply.c:562)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Set Bulk Timeout Min = 1000 milliseconds (bulk_apply.c:563)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Working in bulk apply mode (endpointshell.c:1926)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [ASSERTION ]W: Cannot get a 'max_string_size' parameter. Using STANDARD 'max_string_size' (oracle_endpoint_conn.c:577)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [SOURCE_CAPTURE ]I: Source endpoint 'Oracle' is using provider syntax 'Oracle' (provider_syntax_manager.c:873)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Target components st_0_MySQL_DEV was reattached after 5 seconds. (subtask.c:1380)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Start applying of 'UPDATE (3)' cached events for table 'DWDM'.'DB_TABLE_A' (9). (bulk_apply.c:2878)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]I: Error in bulk, bulk state: bulk confirmed record id - '0', bulk last record id - '0', confirmed record id - '6329', sorter confirmed record id - '6329' (bulk_apply.c:2464)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]E: RetCode: SQL_ERROR SqlState: HY000 NativeError: 1267 Message: [MySQL][ODBC 8.0(w) Driver][mysqld-8.0.21]&lt;STRONG&gt;Illegal mix of collations&lt;/STRONG&gt; (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLICIT) for operation '=' [1022502] (ar_odbc_stmt.c:3974)&lt;BR /&gt;00005012: 2022-01-25T21:49:50 [TARGET_APPLY ]E: Failed to prepare statement 'UPDATE `DB_DEV1`.`DB_TABLE_A` INNER JOIN `DB_DEV1`.`attrep_changes61C12A0BEBFDC43C` ON ( `DB_DEV1`.`DB_TABLE_A`.`ID`=`seg1` AND `DB_DEV1`.`DB_TABLE_A`.`FR_N`=`seg2` AND `DB_DEV1`.`attrep_changes61C12A0BEBFDC43C`.`seq` &amp;gt;= ? and `DB_DEV1`.`attrep_changes61C12A0BEBFDC43C`.`seq` &amp;lt;= ? ) SET `DB_DEV1`.`DB_TABLE_A`.`FR_N`= CASE WHEN `DB_DEV1`.`attrep_changes61C12A0BEBFDC43C`.`col1` IS NULL THEN `DB_DEV1`.`DB_TABLE_A`.`FR_N` WHEN `DB_DEV1`.`attrep_changes61C12A0BEBFDC43C`.`col1` = '&amp;lt;att_null&amp;gt;' THEN NULL ELSE `col1` END ,`DB_DEV1`.`DB_TABLE_A`.`P_OF_LOAD_NM`= CASE WHEN `DB_DEV1`.`attrep_changes61C12A0BEBFDC43C`.`col2` IS NULL THEN `DB_DEV1`.`DB_TABLE_A`.`P_OF_LOAD_NM` WHEN `DB_DEV1`.`attrep_changes61C12A0BEBFDC43C`.`col2` = '&amp;lt;att_null&amp;gt;' THEN NULL ELSE `col2` END&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy to work to resolve this issue.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;D&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 03:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885366#M1721</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-01-26T03:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885370#M1722</link>
      <description>&lt;P&gt;Good work&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;Now we have something to work with. Licenses seem fine. Done.&lt;/P&gt;
&lt;P&gt;The observed Latency is not a performance issue, but a side effect of a functionality/implementation issue. As I suggested earlier Replicate thinks it can clear an update error by simply reconnecting and retrying.&lt;/P&gt;
&lt;P&gt;However, where several 's&lt;SPAN&gt;qlState: HY000' situation may recover, the specific&amp;nbsp;NativeError: 1267 will never clear. And the task is in a never ending loop (personally I see such repeats&amp;nbsp; as a longstanding implementation deficiency. I feel they should only try to reconnect for errors know to possibly clear like say Db down, deadlock, network not reachable. I've seen too many of these futile retry attempts.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Anyway, you have found the core error yourself:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1267 Message: [MySQL][ODBC 8.0(w) Driver][mysqld-8.0.21]&lt;/SPAN&gt;&lt;STRONG&gt;Illegal mix of collations&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;(utf8mb4_general_ci,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLICIT) for operation '=' [1022502] (ar_odbc_stmt.c:3974)]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I'd say you have a legit support case here. Submit the log you created along with table definition on source and target for&amp;nbsp;&lt;SPAN&gt;'DWDM'.'DB_TABLE_A' and if you can grab a create statement for replicate internal net changes table&amp;nbsp;`DB_DEV1`.`attrep_changes61C12A0BEBFDC43C`.&amp;nbsp; Just 'kill' a tasks such that it has no change to clean it up or enable trace logging for TARGET_APPLY and catch the create there.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you want to work this yourself some more, you need to figure out which column triggers the error, or maybe all string columns cause this because the source and target databases are too different - butthat's unlikely because the net changes table and target table in the update are on the same db.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ask yourself how(which) columns do not have a default collation sequence or why.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You may want to manually try to execute the update statement in studio in the hope the error handling gives further details (which columns)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I would also recommend to try to run in transactional apply mode as a workaround and as a knowledge point in further discovery. I suspect it will work in non-batch mode but it may not work fast enough to be workable long term.&lt;/P&gt;
&lt;P&gt;good luck!&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 04:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885370#M1722</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-01-26T04:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885375#M1723</link>
      <description>&lt;P&gt;I have set the table logging target_apply to trace for more information. I was able to get the create table SQL. I have opened a case 22189 for further troubleshooting. You mentioned on "kill" a task that has not change. What do you mean?&lt;/P&gt;
&lt;P&gt;Meanwhile I have set the task to transactional mode and it seems to work as workaround.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Des&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 05:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885375#M1723</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-01-26T05:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885399#M1726</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;"Kill" a task means you stop/kill the task process by task manager, or "kill -9" command to forcedly stop the process so far it have not the opportunity to "clean up" the&amp;nbsp; net change table, the table will be left there for your further analysis, you can check the internal net change table columns collation information. I think this is&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;intention.&lt;/P&gt;&lt;P&gt;However I think the net change table columns default collation should be as same the MySQL Server level setting. you need to check why there are different collations. For example, you remove some columns to see which column lead the error.&lt;/P&gt;&lt;P&gt;Transactional mode is a WA however Batch apply mode has better performance.&lt;/P&gt;&lt;P&gt;BTW, the case will be picked up by region support team.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 08:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885399#M1726</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-01-26T08:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885784#M1736</link>
      <description>&lt;P&gt;Hi John/Hein,&lt;/P&gt;
&lt;P&gt;Thank you for the pointers. I have found out that the change table-&amp;nbsp; "attrep_apply_exceptions" is using utf8mb4_0900_ai_ci collation whereas all the other user tables are on "utf8mb4_general_ci". This change table is from Qlik to store changes. How can we resolve this by recreating the table or convert it to&amp;nbsp;"utf8mb4_general_ci" collation?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 02:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885784#M1736</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-01-27T02:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885789#M1737</link>
      <description>&lt;P&gt;Hello Desmond,&lt;/P&gt;&lt;P&gt;May I know what's the default collation of the target database?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN&gt;whereas all the other user tables are on "utf8mb4_general_ci"&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How the other user tables being created? Manually, or automatically by Replicate?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 02:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885789#M1737</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-01-27T02:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885795#M1739</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;The default collation is utf8mb4_general_ci. All tables are replicated using Qlik except two tables are manually created. Manually created tables are using default collation.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Desmond&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 03:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885795#M1739</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-01-27T03:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885824#M1740</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I have found out that the change table-&amp;nbsp; "attrep_apply_exceptions" is using utf8mb4_0900_ai_ci collation&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That might&amp;nbsp;be a typo, but the&amp;nbsp;attrep_apply_exceptions is as the name implies a table to record apply exceptions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The net changes tables are named something like:&amp;nbsp;attrep_changes61C12A0BEBFDC43C&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You indicated you captured the create statement for that - does it request a specific collation? Probably not. Perhaps share that create statement here? But ead on, I don't think that is it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Was the server or database default collation perhaps altered at some point? Unlikely I know, but then again I noticed this:&amp;nbsp;&lt;A href="https://www.monolune.com/what-is-the-utf8mb4_0900_ai_ci-collation/" target="_blank" rel="noopener"&gt;https://www.monolune.com/what-is-the-utf8mb4_0900_ai_ci-collation/&lt;/A&gt;&amp;nbsp;- "&lt;CODE&gt;utf8mb4&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;has become&lt;/STRONG&gt; &lt;STRONG&gt;the default character set&lt;/STRONG&gt;, with&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;utf8mb4_0900_ai_ci&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;as the default collation in MySQL 8.0.1 and later. &lt;STRONG&gt;Previously&lt;/STRONG&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;utf8mb4_general_ci&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;was the default collation.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;8.0.1 was released in 2017, but still, that would explain nicely what you see!&lt;/P&gt;
&lt;P&gt;(btw .. see why for you always need to provide db and version numbers for questions ?!)&lt;/P&gt;
&lt;P&gt;So maybe the database was upgrade and now new tables such as the attrep_changes tables are new created as&amp;nbsp;&lt;SPAN&gt;utf8mb4_0900_ai_ci collation whereas the existing tables were/are&amp;nbsp;utf8mb4_general_ci&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Seems to me you may have to use something like "ALTER DATABASE database_name CHARACTER SET character_set_name COLLATE collation_name;".&amp;nbsp; (&amp;nbsp;&lt;A href="https://www.mysqltutorial.org/mysql-collation/" target="_blank" rel="noopener"&gt;https://www.mysqltutorial.org/mysql-collation/&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you reload a table in Replicate, with drop, what collating sequence does it get? Reload all??&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;fwiw - The MySQL endpoint has an internal parameter&amp;nbsp;CharsetMapping which you can set to strings like "latin1,1252,latin9,99999" to map charactersets to codepage but best I know there is no parameter explicit about collation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;hth,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hein.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 05:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885824#M1740</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-01-27T05:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885834#M1743</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you so much for your excellent assistance. I had 2 meetings today and I'm sorry for my slow response&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;. Let us know if need any additional assistance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 06:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885834#M1743</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-01-27T06:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885943#M1744</link>
      <description>&lt;P&gt;No worries. Thanks John and Hein for your replies.&lt;/P&gt;
&lt;P&gt;I will need to check with the architecture team why there is a difference in these tables collations. We are running on MySQL 8.0.21. As per your document link, the default MySQL DB is &lt;CODE&gt;utf8mb4_0900_ai_ci&lt;/CODE&gt;&lt;SPAN&gt; . The MySQL schema was created as &lt;CODE&gt;utf8mb4_0900_ai_ci&lt;/CODE&gt;&amp;nbsp; but the user database (dev-db) was created as &lt;CODE&gt;utf8mb4_general_ci&lt;/CODE&gt; . I shall follow up on our end on this to check.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nevertheless, the user database is created using &lt;CODE&gt;utf8mb4_general_ci&lt;/CODE&gt; , all the Qlik replicated tables are in &lt;CODE&gt;utf8mb4_general_ci&lt;/CODE&gt; . But why is the table "attrep_apply_exceptions" created using&amp;nbsp;&lt;CODE&gt;utf8mb4_0900_ai_ci&lt;/CODE&gt;&amp;nbsp; ?&amp;nbsp; How can we rectify this? Is there an option in Qlik Replicate to overwrite when replicating?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By the way, I found there are two "attrep_apply_exceptions" tables. One is located in "attrep_control" schema and another in dev-db schema. (please see schemas collation.png).&amp;nbsp; Attrep_control is created with &lt;CODE&gt;utf8mb4_general_ci&lt;/CODE&gt;&amp;nbsp; (attrep_applyl_exceptions.png).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;BR /&gt;Desmond&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 10:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1885943#M1744</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-01-27T10:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1886050#M1751</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;Replicate detects if "&lt;SPAN&gt;attrep_apply_exceptions" exists, if yes then use it. otherwise will create it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So if it was created (by default the collation is same with the DB) and then the DB level collation changed, this table collation will be kept unless you removed it and let Replicate recreate it again. Another possibility is this control table was created in another DB (different DB with the user tables).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, personally I do not suggest to continue this article as it's way far away from the topic. it's confusion. you may open a new one with informative subject.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 13:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1886050#M1751</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-01-27T13:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1886308#M1754</link>
      <description>&lt;P&gt;Please focus on the attrep_changes table. That's the one leading to "&lt;STRONG&gt;Illegal mix of collations" &lt;/STRONG&gt;because columns for it are used in a join with a column with a different collation.&lt;/P&gt;
&lt;P&gt;The attrep_exception table is only freshly create when it doe not exist, but the net-changes table is recreated every time a task is started and several times more when usertables with incompatible layout have changes.&lt;/P&gt;
&lt;P&gt;It is deleted on clean task exit, which is why kill was suggested ( kill - 9 under Linux, Taskmanager or pskill for Windows)&lt;/P&gt;
&lt;P&gt;I don't think you can control its collating sequence other then through the schema/db/server default.&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 00:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1886308#M1754</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-01-28T00:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replication tasks encountered the following error: Logging of database data is disabled</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1888135#M1778</link>
      <description>&lt;P&gt;Noted John. I have changed to transactional mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 13:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-tasks-encountered-the-following-error-Logging-of/m-p/1888135#M1778</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2022-02-02T13:08:56Z</dc:date>
    </item>
  </channel>
</rss>

