Serge van Ginderachter
c1fd6c6388
return a proper result set for getmaster/getslave ( #2595 )
...
* return a proper result set for getmaster/getslave
when not on a master/slave.
This allows for a cleaner error handling.
* A more uniform return of result keys for getmaster/slave
2016-12-08 11:34:37 -05:00
Serge van Ginderachter
121ef13e47
Exception handling for MySQLdb warnings ( #2594 )
...
Do not fail the module for warnings.
Return warnings in the module result set.
Fixes #719
Alternative to #720 and as discuseed over there.
2016-12-08 11:34:37 -05:00
Matt Clay
9c883f689d
Add optional mysql connect timeout.
2016-12-08 11:33:56 -05:00
Jonathan Mainguy
a50b661e54
Unify mysql modules.
...
Added config_file, ssl_ca, ssl_cert, ssl_key, changed connect method, added error checking where a backtrace previoussly was possible
2016-12-08 11:33:40 -05:00
Kenny Gryp
c908c0663d
revert to unbreak pull request
2016-12-08 11:33:34 -05:00
Kenny Gryp
c766cbd98a
in order for replication setup to work, some errors should be ignored
2016-12-08 11:33:33 -05:00
Kenny Gryp
4e401fc4e6
including error code and error number when database connection creation fails
2016-12-08 11:33:33 -05:00
Luis Rodriguez
adedc7ef3f
Fix bug #1067
2016-12-08 11:33:26 -05:00
Mischa ter Smitten
2ea6fc210a
Documented new operation modes
2016-12-08 11:33:19 -05:00
Mischa ter Smitten
946732eb74
Add more modes to the mysql_replication module
...
Fixes #979
2016-12-08 11:33:19 -05:00
Greg DeKoenigsberg
c65a612d1f
Changes to author formatting, remove emails
2016-12-08 11:32:51 -05:00
Brian Coca
c4f52f62f7
fix doc parsing by correctly quoting author
2016-12-08 11:32:39 -05:00
Greg DeKoenigsberg
319a03869d
Update mysql_replication.py
2016-12-08 11:32:38 -05:00
Balazs Pocze
a7c0da1e8e
Changes made as modifying master_auto_position parameter type to bool
2016-12-08 11:32:38 -05:00
Balazs Pocze
bdf85951cf
gtid_replication parameter changed to master_auto_position to keep the same variable name as the MySQL server itself
2016-12-08 11:32:38 -05:00
Balazs Pocze
fca06a1dfb
gtid_replication parameter added to keep this module working in environments which are using GTID replication
2016-12-08 11:32:38 -05:00
Toshio Kuratomi
f68bba7b1a
Port is an integer so use arg_spec to enforce that.
2016-12-08 11:32:30 -05:00
Jonathan Mainguy
4fb54a068f
Addes login_port feature, similiar to how mysql_db.py works
2016-12-08 11:32:24 -05:00
Toshio Kuratomi
389c6e7b5e
Allow 0 to be specified
2016-12-08 11:32:23 -05:00
Stanislav Antic
d881a01fec
Fixes #155
2016-12-08 11:32:23 -05:00
Toshio Kuratomi
cdb9c1b1c4
Use the python db api to quote mysql values
2016-12-08 11:32:20 -05:00
Michael DeHaan
cf622a7299
Categorize some modules.
2016-12-08 11:32:19 -05:00