-
Notifications
You must be signed in to change notification settings - Fork 594
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-cdc MySQL user doesn't have enough privileges #15757
Comments
thanks :
I can use it after creating a new user according to the official website's method. It's strange that it can't work if I use the root user.
At 2024-03-18 21:30:27, "lmatz" ***@***.***> wrote:
Hi @SparkLover
are there enough permissions granted to the corresponding user in MySQL? https://docs.risingwave.com/docs/current/ingest-from-mysql-cdc/#set-up-mysql:
CREATE USER 'user'@'%' IDENTIFIED BY 'password';
GRANT SELECT, RELOAD, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON . TO 'user'@'%';
FLUSH PRIVILEGES;
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @SparkLover , what version of MySQL are you using? |
|
thanks:
mysql 5.7
At 2024-03-19 12:56:28, "lmatz" ***@***.***> wrote:
Hi @SparkLover , what version of MySQL are you using?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
thanks ,I'll try v1.7.2 versions
At 2024-03-19 13:13:59, "StrikeW" ***@***.***> wrote:
Hi @SparkLover, I think in v1.7.2 we have fixed the issue with GRANT ALL. You may try out the v1.7.2 version.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sorry, the fix PR |
thanks, I see |
Describe the bug
source cannot pass validation: INVALID_ARGUMENT: MySQL user doesn't have enough privileges: [RELOAD, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT, SELECT]
Error message/log
To Reproduce
CREATE TABLE orders (
order_id int,
price decimal,
PRIMARY KEY (order_id)
) WITH (
connector = 'mysql-cdc',
hostname = 'localhost',
port = '3306',
username = 'root',
password = '123456',
database.name = 'db01',
table.name = 'orders'
);
Expected behavior
I give root user all permissions
How did you deploy RisingWave?
docker
The version of RisingWave
PostgreSQL 9.5.0-RisingWave-1.7.1 (3a545de)
Additional context
No response
The text was updated successfully, but these errors were encountered: