question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't run the mysql example!

See original GitHub issue

Hi,

I’m a new user to databus, and I follow all the steps in Databus for MySQL, I run the relay successful, but when I update the DB, no event found in the relay. I use all the configure in the example package, and see no message in log.

The last log in relay.log is: 2014-02-14 16:15:54,478 +1566 OpenReplicator_person {OpenReplicator_person} Open Replicator starting from mysql-bin.000001@4 2014-02-14 16:15:54,552 +1640 OpenReplicator_person {OpenReplicator_person} Event Producer Thread done

The last log in databus2-relay-or_person.out is: 2014-02-14 16:15:53,435 +523 main {DbusEventV1Factory} BIG_ENDIAN 2014-02-14 16:15:53,436 +524 main {DbusEventV1Factory} java.lang.Thread.getStackTrace(Thread.java:1436) com.linkedin.databus.core.DbusEventV1Factory.<init>(DbusEventV1Factory.java:48) com.linkedin.databus.core.DbusEventV1Factory.<init>(DbusEventV1Factory.java:34) com.linkedin.databus.container.netty.HttpRelay.<init>(HttpRelay.java:131) com.linkedin.databus2.relay.DatabusRelayMain.<init>(DatabusRelayMain.java:91) com.linkedin.databus.relay.example.PersonRelayServer.main(PersonRelayServer.java:74) 2014-02-14 16:15:54,496 +1584 OpenReplicator_person {TransportImpl} connecting to host: 10.1.8.208, port: 33066 2014-02-14 16:15:54,529 +1617 OpenReplicator_person {TransportImpl} connected to host: 10.1.8.208, port: 33066, context: AbstractTransport.Context[threadId=68,scramble= X*hN/>)SEC'I|Ur`ipw,protocolVersion=10,serverHost=10.1.8.208,serverPort=33066,serverStatus=2,serverCollation=33,serverVersion=5.1.58-log,serverCapabilities=63487] 2014-02-14 16:15:54,529 +1617 OpenReplicator_person {AuthenticatorImpl} start to login, user: or_test, host: 10.1.8.208, port: 33066 2014-02-14 16:15:54,535 +1623 OpenReplicator_person {AuthenticatorImpl} login successfully, user: or_test, detail: OKPacket[packetMarker=0,affectedRows=0,insertId=0,ser verStatus=2,warningCount=0,message=<null>]

Is there any configure need I change?

Thanks!

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
e7868acommented, May 13, 2014

HI,

I am starting using DataBus for Mysql. After change log format to ROW. when query " curl -s http://localhost:11115/containerStats/inbound/events/total?pretty". “numDataEvents” changed as I do some update on ‘person’. But “numDataEventsFiltered” is still Zero.

Does this means anything wrong?

And How can i enable DEBUG log?

thanks.

0reactions
srinipunurucommented, Aug 14, 2015

Hi @yongfangtan, Since we haven’t heard back from you. I am closing this, Please get back if you are still seeing this issue.

Thanks, Srini.

Read more comments on GitHub >

github_iconTop Results From Across the Web

B.3.2.2 Can't connect to [local] MySQL server
If the server is running on the local host, try using mysqladmin -h localhost variables to connect using the Unix socket file. Verify...
Read more >
How to fix common problems with MySQL databases - UpCloud
Check that the service is running. If your website cannot connect to your database, it is possible the service is simply not listening....
Read more >
Common Errors When Using MySQL - O'Reilly
Can't connect to [local] MySQL server Error · mysqld is not running. · You are running on a system that uses MIT-pthreads. ·...
Read more >
Can't run a valid MySQL query - Stack Overflow
mysql > SET @Strike_id = LAST_INSERT_ID(); Query OK, 0 rows affected (0.02 sec). Works for me.
Read more >
How To Troubleshoot Issues in MySQL - DigitalOcean
Note: If you're running MySQL 8+, these commented lines will not be in the ... The following example grants a user global privileges...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found