ChuckBell / MySQL_Connector_Arduino

Database connector library for using MySQL with your Arduino projects.
331 stars 132 forks source link

Why would anyone create a connection routine that can not use a host name? #81

Closed dachshund-digital closed 5 years ago

dachshund-digital commented 5 years ago

Why would anyone create a connection routine that can not use a host name? I just can't believe there is a good reason for not doing this? Please add this feature. Having to use a static IP address as the database server specification is so regressive. Just not a best practice, at all.

ChuckBell commented 5 years ago

While your comments are welcome, they’re a bit over the top here. The reason is simply the base libraries don’t support it. We are talking a wee small machine here. If your platform has libraries that support lookups, you can implement that yourself. Most can’t spare the memory. Please help keep this forum constructive.

ChuckBell commented 5 years ago

If you can suggest code to effect such a feature reliably for the Arduino libraries, please feel free to submit a patch or, if you want to support a specific platform, fork the code. :)