MySQL Forums
Forum List  »  Connector/Arduino

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
4565
October 04, 2014 01:53PM
2683
October 14, 2014 02:08PM
2234
November 01, 2014 04:46AM
2065
November 05, 2014 09:03AM
2045
November 07, 2014 12:13PM
1948
November 07, 2014 01:19PM
1963
November 14, 2014 02:08PM
1797
November 19, 2014 01:39PM
1880
November 19, 2014 03:46PM
1978
November 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.