1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library/database
Stijn Tintel 767c208e6c Fix MySQL 5.6 compatibility
In MySQL 5.6, the root account created by default during MySQL
installation has the PROXY ... WITH GRANT OPTION privilege for ''@'',
that is, for all users.

The mysql_user module tries to revoke this privilege, but this fails:
_mysql_exceptions.ProgrammingError: (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 '''@'' FROM 'root'@'localhost''
at line 1")

Quick fix: don't revoke privilege if user is root and the privilege to
revoke contains PROXY.
2013-06-11 15:00:14 +02:00
..
mongodb_user Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
mysql_db Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
mysql_user Fix MySQL 5.6 compatibility 2013-06-11 15:00:14 +02:00
postgresql_db Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
postgresql_privs Docs standardization 2013-06-01 12:11:26 -04:00
postgresql_user Docs standardization 2013-06-01 12:11:26 -04:00
riak pep8 fixes 2013-06-01 12:29:03 -04:00