My SQL or Database Support for Ethernet Library

General discussion on mikroPascal.
Post Reply
Author
Message
informatiker
Posts: 12
Joined: 10 Oct 2006 15:46
Location: Germany

My SQL or Database Support for Ethernet Library

#1 Post by informatiker » 05 Dec 2008 00:59

Dear Mikroelektronika Team,

Will it be in the future My-SQL or Database Support for ethernet-library?

Best Regards
Burak Senel
burak

smurff
Posts: 25
Joined: 26 Dec 2008 23:31

#2 Post by smurff » 27 Dec 2008 00:05

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

deploser
Posts: 11
Joined: 24 Dec 2009 08:27

#3 Post by deploser » 26 Dec 2009 13:27

I have a problem about how I can connect to MySQL database from PIC over PHP stack?

Best Regards
deploser

User avatar
anikolic
mikroElektronika team
Posts: 1775
Joined: 17 Aug 2009 16:51
Location: Belgrade
Contact:

#4 Post by anikolic » 28 Dec 2009 13:45

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
Web Department Manager

User avatar
srdjan
mikroElektronika team
Posts: 1552
Joined: 28 Dec 2005 12:47
Location: Serbia

Re:

#5 Post by srdjan » 21 Dec 2011 13:56


HappyFly
Posts: 5
Joined: 16 Sep 2011 20:38

Re: My SQL or Database Support for Ethernet Library

#6 Post by HappyFly » 06 Feb 2015 20:51

I cannot find TCP CLIENT on this LibStock ... please can you dettail where are example of TCP client ?
Thanks
Mauro

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: My SQL or Database Support for Ethernet Library

#7 Post by filip » 07 Feb 2015 12:58

Hi,

There are couple of TCP client examples on the Forum and maybe on LibStock, so please try to find it.

Regards,
Filip.

Post Reply

Return to “mikroPascal General”