-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql 8.0 incompatibility - show grants using #6448
Comments
MySQL [(none)]> SHOW GRANTS MySQL [(none)]> SHOW GRANT FOR |
MySQL [(none)]> SHOW GRANTS FOR |
This may be related to #6381 and pingcap/tidb#7968 The new syntax is listed on https://dev.mysql.com/doc/refman/8.0/en/show-grants.html |
Looks like the syntax is already supported in TiDB:
See also: https://docs.pingcap.com/tidb/stable/sql-statement-show-grants |
when we found there's a role in SHOW GRANTS, we will use append But I didn't notice that there must be |
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?
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
ordm-worker -V
ordm-master -V
):Upstream MySQL/MariaDB server version:
8.0.23
Downstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):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)
The text was updated successfully, but these errors were encountered: