Closed JesusFregoso closed 6 years ago
It's probably throwing some error that you're not catching.
Try this:
mysqlEvents.on(MySQLEvents.EVENTS.ZONGJI_ERROR, console.error);
the error was the docker container he wasnt writting the logs into the /var/log/mysql/ so i change the docker for mysql running locally and now it works but i have another problem.when i insert,update or delete into an specific table im getting this error and the event crash: NodeError: The value of "value" is out of range. It must be >= -128 and <= 127. Received -256
Can you provide me more details about your docker container configuration?
we already resolve was something wrong with our version of nodejs we drowngrade from lastest to the stable and fix our problems, thanks by the way.
Jesus Fregoso Software Developer, Kichick Móvil: 6692780477 Dirección: Mazatlan, Sinaloa Email: jessfregoso0@gmail.com asarazm@gmail.com
2018-07-17 22:59 GMT-06:00 Rodrigo Gomes da Silva notifications@github.com :
Can you provide me more details about your docker container configuration?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rodrigogs/mysql-events/issues/1#issuecomment-405809255, or mute the thread https://github.com/notifications/unsubscribe-auth/AIIU9YvcPe__qwh_ZD5jKU7R3zwnT9gSks5uHsCsgaJpZM4VNeA3 .
Oh, its nice to know. Thanks for the feedback.
have you try mysql-events with sails i cant make this work this is how my mysqlEvents object looks like
and my log file with docker is this sudo docker exec dockercontainers_db_1 cat /var/log/mysql/mysql-bin.000002