0
I have a problem understanding a mistake when using a federated table.
Setting:
Server A: create view federated_view as SELECT ....
Server B: create table table_federated (A, B, C)
ENGINE=FEDERATED CONNECTION='mysql://user:paswd@:3306/database/federated_view';
When I perform an update in the federated table, locally on the B server, the execution of the command returns OK, no errors, but the value is not changed:
mysql> update tabela_federada set incidentes_utilizados = 1 where customer_id = 'teste' and incidentes_utilizados = 10;
Query OK, 1 row affected (0.17 sec)
mysql> select * from tabela_federada where customer_id = 'teste'\G
incidentes_utilizados: 10
bugs_qualificados: 3
requisicoes_utilizadas: 2
horas_disponiveis: 4.00
Talk commit update; after update give one
commit;
and check if you have updated the registration;– Don't Panic
Even eating didn’t work
– Daniel Ortiz