MySQL Forums :: Connector/Arduino :: Packet Error


Advanced Search

Packet Error
Posted by: Bryan Davis ()
Date: October 04, 2014 01:53PM

I'm trying to do my first build using this library and am having problems.

I'm using an Uno R3 with the Ethernet Shield.

When I try to use your example script, with the correct username/password and IPAddress of my mySQL server, all I get is:

Connecting...
Packet error.


I know I'm getting connected properly, because in my version, I added some extra debugging to the serial output. Here's what my script comes up with:

CurrentMonitor is running at: 10.2.2.40
Connecting...
Packet error.
Packet error.
Error: 255 = .
Connection failed.
Packet error.
Packet error.
Packet error.
Memory error.


I can ping the IP of the Uno from another computer (which means it's on the network) and can also get into the mySQL server from the GUI Workbench using the exact same IPAddress, User, and Password from the computer in which I'm programming the Uno from.

But like I said, even using your example "mysql_connector_basic", I get the error as stated above after only changing the mac, IPAddress and user/password.

So I really don't think it's a network issue.

Any thoughts?

Options: ReplyQuote


Subject Views Written By Posted
Packet Error 2654 Bryan Davis 10/04/2014 01:53PM
Re: Packet Error 1535 Charles Bell 10/14/2014 02:08PM
Re: Packet Error 1176 Gábor Horinka 11/01/2014 04:46AM
Re: Packet Error 1095 Charles Bell 11/05/2014 09:03AM
Re: Packet Error 1092 Noam Parness 11/07/2014 12:13PM
Re: Packet Error 1063 Gábor Horinka 11/07/2014 01:19PM
Re: Packet Error 1032 Gábor Horinka 11/14/2014 02:08PM
Re: Packet Error 920 Charles Bell 11/19/2014 01:39PM
Re: Packet Error 950 Gábor Horinka 11/19/2014 03:46PM
Re: Packet Error 955 Charles Bell 11/26/2014 10:14AM


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.