File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
tests/integration/targets/test_mysql_replication/tasks Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1717 IDENTIFIED {% if db_engine == 'mysql' %}WITH mysql_native_password {% endif %}BY '{{ group_replication_pass }}'; \
1818 GRANT REPLICATION SLAVE ON *.* TO \
1919 '{{ group_replication_user }}'@'{{ mysql_host }}'; \
20+ GRANT CONNECTION_ADMIN ON *.* TO \
21+ '{{ group_replication_user }}'@'{{ mysql_host }}'; \
2022 GRANT BACKUP_ADMIN ON *.* TO \
2123 '{{ group_replication_user }}'@'{{ mysql_host }}'; \
2224 GRANT GROUP_REPLICATION_STREAM ON *.* TO \
23- '{{ group_replication_user }}'@'{{ mysql_host }}';\" | {{ mysql_command }}"
24- when : db_version is version('8.0.0', '>=')
25+ '{{ group_replication_user }}'@'{{ mysql_host }}'; \
26+ FLUSH PRIVILEGES;\" | {{ mysql_command }}"
27+ when : db_engine == 'mysql' and db_version is version('8.0.0', '>=')
2528
2629 - name : Create group replication user for MariaDB
2730 shell :
You can’t perform that action at this time.
0 commit comments