Skip to content

mysql 8.0 incompatibility - show grants using #6448

Closed
@luyomo

Description

What did you do?

Sync data from Aurora 8.0.23 to TiDB Cloud using DM. And failed to create the task.

What did you expect to see?

Succeed to sync data from Aurora to TiDB Cloud.

What did you see instead?

detail: {                                                                                                                                                           [23/4699]
            "results": [                                                                                                                                                         
                    {                                                                                                                                                            
                            "id": 0,                                                                                                                                             
                            "name": "mysql_version",                                                                                                                             
                            "desc": "check whether mysql version is satisfied",                                                                                                  
                            "state": "warn",                                                                                                                                     
                            "errors": [                                                                                                                                          
                                    {                                                                                                                                            
                                            "severity": "warn",                                                                                                                  
                                            "short_error": "version suggested less than 8.0.0 but got 8.0.23"                                                                    
                                    }                                                                                                                                            
                            ],                                                                                                                                                   
                            "extra": "address of db instance - ar3vyl3zlmk15x.cxmxisy1o2a2.us-east-1.rds.amazonaws.com:3306"                                                     
                    },                                                                                                                                                           
                    {                                                                                                                                                            
                            "id": 6,                                                                                                                                             
                            "name": "source db replication privilege checker",                                                                                                   
                            "desc": "check replication privileges of source DB",                                                                                                 
                            "state": "fail",                                                                                                                                     
                            "errors": [                                                                                                                                          
                                    {                                                                                                                                            
                                            "severity": "fail",                                                                                                                  
                                            "short_error": "Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for 

the right syntax to use near 'USING rds_superuser_role@%' at line 1"
}
],
"extra": "address of db instance - ar3vyl3zlmk15x.cxmxisy1o2a2.us-east-1.rds.amazonaws.com:3306"
},
{
"id": 1,
"name": "source db dump privilege checker",
"desc": "check dump privileges of source DB",
"state": "fail",
"errors": [
{
"severity": "fail",
"short_error": "Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for
the right syntax to use near 'USING rds_superuser_role@%' at line 1"
}
],
"extra": "address of db instance - ar3vyl3zlmk15x.cxmxisy1o2a2.us-east-1.rds.amazonaws.com:3306"
}
],
"summary": {
"passed": false,
"total": 10,
"successful": 7,
"failed": 2,
"warning": 1
}
}"

Versions of the cluster

DM version (run dmctl -V or dm-worker -V or dm-master -V):

tiup dmctl -V
tiup is checking updates for component dmctl ...
Starting component `dmctl`: /home/admin/.tiup/components/dmctl/v6.1.0/dmctl/dmctl -V
Release Version: v6.1.0
Git Commit Hash: 9f5e3cea2fae0a3dce6cc5ca79e3bcd654b8aa99
Git Branch: heads/refs/tags/v6.1.0
UTC Build Time: 2022-06-07 11:55:24
Go Version: go version go1.18.2 linux/amd64

Upstream MySQL/MariaDB server version:

8.0.23

Downstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

MySQL [test]> SELECT tidb_version();`
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version()                                                                                                                                                                                                                                                                                                                          |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v5.4.0-20220421
Edition: Enterprise
Git Commit Hash: 5c597dc4f7017eab7935705a347c96c097711ce6
Git Branch: heads/refs/tags/v5.4.0-20220421
UTC Build Time: 2022-04-21 10:42:03
GoVersion: go1.16.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.001 sec)

How did you deploy DM: tiup or manually?

tiup dm deploy datasync v6.1.0 /opt/tidb/dm-cluster.yml

Other interesting information (system version, hardware config, etc):

>
>

current status of DM cluster (execute query-status <task-name> in dmctl)

(paste current status of DM cluster here)

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions