C
Size: a a a
C
NZ
C
NZ
A
"msg": "unable to modify server.. (1045, 'unrecognized token: \"\\'\\n AND port = 3306\"')"
- proxysql_backend_servers:
login_user: 'admin'
login_password: 'admin'
hostname: 'mysql01'
state: present
load_to_runtime: False
unrecognized token
File "/tmp/ansible_R6ge5e/ansible_module_proxysql_backend_servers.py", line 476, in main
if not proxysql_server.check_server_config_exists(cursor):
File "/tmp/ansible_R6ge5e/ansible_module_proxysql_backend_servers.py", line 247, in check_server_config_exists
cursor.execute(query_string, query_data)
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 226, in execute
self.errorhandler(self, exc, value)
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorvalue
NZ
The full traceback is:
File "/tmp/ansible_LC7Gq0/ansible_module_proxysql_backend_servers.py", line 476, in main
if not proxysql_server.check_server_config_exists(cursor):
File "/tmp/ansible_LC7Gq0/ansible_module_proxysql_backend_servers.py", line 247, in check_server_config_exists
cursor.execute(query_string, query_data)
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 226, in execute
self.errorhandler(self, exc, value)
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorvalue
fatal: [web.tony]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"comment": "",
"compression": null,
"config_file": "",
"hostgroup_id": 50,
"hostname": "10.19.160.7",
"load_to_runtime": false,
"login_host": "127.0.0.1",
"login_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"login_port": 6032,
"login_unix_socket": null,
"login_user": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"max_connections": null,
"max_latency_ms": null,
"max_replication_lag": null,
"port": 3306,
"save_to_disk": true,
"state": "present",
"status": null,
"use_ssl": null,
"weight": null
}
},
"msg": "unable to modify server.. (1045, 'unrecognized token: \"\\'\\n AND port = 3306\"')"
}
C
C
A
A
C
C
A
NZ
},
"msg": "unable to connect to ProxySQL Admin Module.. (1045, \"ProxySQL Error: Access denied for user 'admin'@'' (using password: YES)\")"
A
NZ
NZ
NZ
NZ
A