Status: Accepted
Owner:
jeff.m...@continuent.com
CC:
csaba.si...@continuent.com
Labels: Type-Defect Priority-Medium FoundIn-3.0.0 FixedIn-3.0.0
New issue 1048 by
csaba.si...@continuent.com: Installation fails if MySQL
master or slave login lacks SUPER privilege
https://code.google.com/p/tungsten-replicator/issues/detail?id=1048
What steps will reproduce the problem?
1. Create a MySQL account according to instructions in 3.0 documentation:
https://docs.continuent.com/tungsten-replicator-3.0/prerequisite-mysql.html#prerequisite-mysql-users-unprivileged
2. Set up master/slave replication with a non-privileged account using tpm
--privileged-master=false or --privileged-slave=false to tell replicator it
should not depend on presence of SUPER privilege.
tpm install myservice \
...
--replication-user=tungsten_lite \
--replication-password=secret \
--privileged-master=false \
...
--start-and-report
What is the expected output?
Install succeed and the nodes are online.
What do you see instead?
Install fails with the following error:
ERROR >> host1 >> The database user is missing some privileges or the grant
option. Run 'mysql -utungsten_lite -psecret -hhost1 -e"GRANT ALL ON *.* to
tungsten@host1 WITH GRANT OPTION"'
What is the possible cause?
If --skip-validation-check=MySQLPermissionsCheck is specified install
succeed. However when --privileged-master=false or --privileged-slave=false
is specified the user shouldn't specify the --skip-validation-check
parameter also.
What is the proposed solution?
--privileged-master=false or --privileged-slave=false should be enough. No
need for --skip-validation-check.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings