MySQL Forums :: Connector/Arduino :: Announcing Connector/Arduino 1.0.2b


Advanced Search

Re: Announcing Connector/Arduino 1.0.2b
Posted by: Noam Parness ()
Date: May 07, 2014 10:06AM

Well, I may have spoken too soon.
It seemed fne for a day, but then everything went south when I put some other modifications into my main code.
All of a sudden, I was unable to connect to the MySQL database, and I wasn't getting useful error messages. I got a few early on, one of which indicated a failed login - but the username and password are hard-coded in my code, and haven't changed). Another one indicated a packet error (as I recall).

I put back my original code, but the problem actually got worse. For some reason, my Arduino was rebooting in the middle of one of the Serial.print statements (or so it seemed - I didn't have time at 5 AM to troubleshoot further).
I put back v1.0.1b of the connector, and it started working again. I'm not sure what went wrong, but I have to go through all my code again and see if I can find a bug.
One thought was that I was buffer-overrunning myself (with the mysql insert statement), but I didn't have time to look at that yet.

I'll keep you posted.
--Noam

Options: ReplyQuote


Subject Views Written By Posted
Announcing Connector/Arduino 1.0.2b 2321 Noam Parness 05/06/2014 09:42AM
Re: Announcing Connector/Arduino 1.0.2b 1352 Noam Parness 05/06/2014 09:44AM
Re: Announcing Connector/Arduino 1.0.2b 1129 Charles Bell 05/07/2014 08:35AM
Re: Announcing Connector/Arduino 1.0.2b 1163 Noam Parness 05/07/2014 10:06AM
Re: Announcing Connector/Arduino 1.0.2b 1141 Noam Parness 05/08/2014 08:09AM
Re: Announcing Connector/Arduino 1.0.2b 1173 Noam Parness 05/12/2014 11:25AM


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.