LoginSignup
0
0

More than 5 years have passed since last update.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':sql_last_run' at line 1

Posted at

logstash で jdbc statement => "SELECT * FROM member WHERE updated_at > :sql_last_run" ってやると

Exception when executing JDBC query {:exception=>#<Sequel::DatabaseError: Java::ComMysqlJdbcExceptionsJdbc4::MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':sql_last_run' at line 1

というエラーがでる

理由

いつからか sql_last_runsql_last_value になってた

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0