Dear Mikroelektronika Team,
Will it be in the future My-SQL or Database Support for ethernet-library?
Best Regards
Burak Senel
My SQL or Database Support for Ethernet Library
-
- Posts: 12
- Joined: 10 Oct 2006 15:46
- Location: Germany
Hi,
Im really new to PICS but I have been a programmer for 17 years. I would have thought that the database runs on a PC or server so your PIC would just connect via the USB or Serial etc then you will have to have a program on that PC or server to read the data and post to the database. I dont think there can ever be a direct connection or library from the PIC to database. It needs to run somewhere.
I may be wrong but if not then I hope this helps
Regards
Danny
Im really new to PICS but I have been a programmer for 17 years. I would have thought that the database runs on a PC or server so your PIC would just connect via the USB or Serial etc then you will have to have a program on that PC or server to read the data and post to the database. I dont think there can ever be a direct connection or library from the PIC to database. It needs to run somewhere.
I may be wrong but if not then I hope this helps
Regards
Danny
Hi,
With our current Ethernet library, there are certain limitations to this, because it doesn't yet support TCP/IP stack, nor TCP client implementation, so you are left to think of a way to do it using UDP. SQL servers are TCP by default. There are, however, several UDP-default SQL servers, such as: http://www.keyfocus.net/kfsensor/help/M ... mSQLSU.php. If you can set your MySQL to use UDP, than you can do the desired communication with current Ethernet library.
Best regards,
Aleksandar
With our current Ethernet library, there are certain limitations to this, because it doesn't yet support TCP/IP stack, nor TCP client implementation, so you are left to think of a way to do it using UDP. SQL servers are TCP by default. There are, however, several UDP-default SQL servers, such as: http://www.keyfocus.net/kfsensor/help/M ... mSQLSU.php. If you can set your MySQL to use UDP, than you can do the desired communication with current Ethernet library.
Best regards,
Aleksandar
Web Department Manager
Re: My SQL or Database Support for Ethernet Library
I cannot find TCP CLIENT on this LibStock ... please can you dettail where are example of TCP client ?
Thanks
Mauro
Thanks
Mauro
Re: My SQL or Database Support for Ethernet Library
Hi,
There are couple of TCP client examples on the Forum and maybe on LibStock, so please try to find it.
Regards,
Filip.
There are couple of TCP client examples on the Forum and maybe on LibStock, so please try to find it.
Regards,
Filip.