Hi there,
we are currently trying to migrate our SQ DB from MySQL to PostgreSQL using the migration tool.
At first we did not encounter any problem, but using a current snapshot of our production DB we ran into the following problem:
Error while copying rows of table 'issues': Batch entry 1,661 insert into issues (id, kee, rule_id, severity, manual_severity, message, line, gap, status, resolution, checksum, reporter, assignee, author_login, action_plan_key, issue_attributes, effort, created_at, updated_at, issue_creation_date, issue_update_date, issue_close_date, tags, component_uuid, project_uuid, locations, issue_type) values (37472494,'AWMt7ChGBu1u6tAnQGPj',5983,'CRITICAL','FALSE','Parse error at line 2 column 1:
1: ��
2: Parse error at line 2 column 1:
1: ��
2:
^
3: #ident1 {font-size:13px;font-family:Arial,Helvetica,sans-serif}
4:
5: #ident2 {font-size:13px;font-family:Arial,Helvetica,sans-serif}
6:
7: #ident3 {font-size:13px;font-family:Arial,Helvetica,sans-serif}
8:
9: #ident4 {font-size:13px;font-family:Arial,Helvetica,sans-serif}
10:
11:
12:',2,NULL,'OPEN',NULL,'5abb695295ae1290a38324b2549fbd47',NULL,NULL,NULL,NULL,'',30,1525483876309,1525483876309,1525483175000,1525483175000,NULL,NULL,'AVtnDsqNG0D0S1obSiFe','AVtnDryCU2uuEJWZs5xx',?,2) was aborted: ERROR: invalid byte sequence for encoding "UTF8": 0x00 Call getNextException to see other errors in the batch.
The MySQL DB was created with
CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
What can be done to overcome this problem?
TIA & KR,
Oliver