MySQL Forums :: Connector/Arduino :: Connector loop my_conn executing before setup


Advanced Search

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


Subject Views Written By Posted
Connector loop my_conn executing before setup 3540 Mark Iveson 01/18/2014 09:06PM
Re: Connector loop my_conn executing before setup 1215 Charles Bell 02/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.