ChuckBell / MySQL_Connector_Arduino

Database connector library for using MySQL with your Arduino projects.
332 stars 133 forks source link

Problem using with Ethernet2 Library #20

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

I am wanting to use the Ethernet2 library as the shield I have has the W5500 chip.

But each time I add the MySQL connector library it automatically adds the (original) Ethernet library. I think it is due to the fact that MySQL_Packet.h has the following line:

#include <Ethernet.h>

I don't see this referenced anywhere else in the other MySQL Connector library files.

Is this line necessary, given that it is included in the main code (in my case #include <Ethernet2.h>)?

Cheers, Mike

ChuckBell commented 7 years ago

Hi,

Yes, it is necessary. Just change it to Ethernet2.

Dr. Bell

On Oct 2, 2017, at 3:56 AM, Mike Dilger notifications@github.com wrote:

Hi,

I am wanting to use the Ethernet2 library as the shield I have has the W5500 chip.

But each time I add the MySQL connector library it automatically adds the (original) Ethernet library. I think it is due to the fact that MySQL_Packet.h has the following line:

include

I don't see this referenced anywhere else in the other MySQL Connector library files.

Is this line necessary, given that it is included in the main code?

Cheers, Mike

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChuckBell/MySQL_Connector_Arduino/issues/20, or mute the thread https://github.com/notifications/unsubscribe-auth/AH0j4CJAalLiGyppvE7m_Zk9BCWz4yEuks5soJc_gaJpZM4PqTHC.

ghost commented 7 years ago

Thanks, will do. Cheers, Mike