Closed bennetgallein closed 8 years ago
Do you have mysql biniary logging turned on and does the mysql user have replication privileges? I would recommend using a different user besides root.
https://dev.mysql.com/doc/refman/5.7/en/replication-howto-repuser.html
I'm gonna try that tomorrow... Thanks for the fast response. :)
Okay, so I added a new user following the instructions you send in your post.. But nothing's happening.. It should probably work with my root account, because it has all permissions, right? Here's my MySQL config and a Screenshot of the Users permissions.
Is MySQL Binary Logging turned on?
Also, remove the last argument from your code, or updated it to something you want to match on.
'match this string or regex'
What should go in there? I want to listen if any new row gets inserted.. I don't want it to have any special value..
Then just remove the argument completely.
Okay, so I removed it now.. But still after inserting something manually nothing appears in the console..
Then it's likely binary logs aren't turned on.
But I dont get the error that it's not turned on.. But I should if it isn't right?
If you don't know that binary logging is turned on, then you need to confirm that it is. I'm not sure how to configure binary logging with ZWAMP.
Okay.. I didn't changed anything but magicly seems to work.. Thanks for the great support anyways.. :)
I'm using zwamp for coding on the move and it has normal mysql. I don't get any error in the console..
my code
It should print something in the console if I insert something manually, right?
Looking for quick help.