Commit Graph

25 Commits (79efc2c70f396345ff8120bef28f6fe58e990a54)

Author SHA1 Message Date
Serge van Ginderachter fc76455326 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
8 years ago
Serge van Ginderachter 9a47088d67 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.
8 years ago
Matt Clay f1b6eeabb2 Add optional mysql connect timeout. 9 years ago
Jonathan Mainguy 0d0c887f02 Unify mysql modules.
Added config_file, ssl_ca, ssl_cert, ssl_key, changed connect method, added error checking where a backtrace previoussly was possible
9 years ago
Kenny Gryp 53d42cd8d8 revert to unbreak pull request 9 years ago
Kenny Gryp e1c1ea9013 in order for replication setup to work, some errors should be ignored 9 years ago
Kenny Gryp 975d7952b9 including error code and error number when database connection creation fails 9 years ago
Luis Rodriguez 6e80ed57d2 Fix bug #1067 9 years ago
Mischa ter Smitten bd0314c406 Documented new operation modes 9 years ago
Mischa ter Smitten a65965e38e Add more modes to the mysql_replication module
Fixes #979
9 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
Brian Coca bceeba224f fix doc parsing by correctly quoting author 10 years ago
Greg DeKoenigsberg b8a7f56b14 Update mysql_replication.py 10 years ago
Brian Coca fbc0bcbd9c minor doc fixes 10 years ago
Brian Coca 07ed2ffb67 Merge pull request #124 from banyek/mysql-gtid-replication
gtid_replication parameter added
10 years ago
Balazs Pocze c2ae5d8e4c Changes made as modifying master_auto_position parameter type to bool 10 years ago
Balazs Pocze 14cf26f520 gtid_replication parameter changed to master_auto_position to keep the
same variable name as the MySQL server itself
10 years ago
Toshio Kuratomi 400166a655 Port is an integer so use arg_spec to enforce that. 10 years ago
Brian Coca 6a3bba3ecc Merge pull request #21 from Jmainguy/mysql_replication_login_port
Adds login_port feature, similiar to how mysql_db.py works
10 years ago
Toshio Kuratomi a32869d492 Allow 0 to be specified 10 years ago
Stanislav Antic c4986bf78d Fixes #155 10 years ago
Jonathan Mainguy d611f86e5b Addes login_port feature, similiar to how mysql_db.py works 10 years ago
Balazs Pocze 0957768755 gtid_replication parameter added to keep this module working in
environments which are using GTID replication
10 years ago
Toshio Kuratomi 317654dba5 Use the python db api to quote mysql values 10 years ago
Michael DeHaan ad181b7aa9 Categorize some modules. 10 years ago