MySQL Forums
Forum List  »  Connector/Arduino

Re: Connector loop my_conn executing before setup
Posted by: Charles Bell
Date: February 04, 2014 03:48PM

Your query string is invalid. You are attempting to pass variables to the query method but these are not supported. You need to use sprintf() to fill in the variable values. See the examples in the connector library.

My educated guess is your Arduino is rebooting or causing the setup() to fire. Fix that query string and it should work fine.

Options: ReplyQuote

Written By
Re: Connector loop my_conn executing before setup
February 04, 2014 03:48PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.