2015-10-31 04:07 AM
Greetings,
Currently I am working on a project in which MySQL connection is requerd. I use STM32F4Discovery and some additional boards and made TCP/IP stack working with LwIP librarys, but I don't know how to make a TCP connection directly to MySQL server. Currently I am able to connect TCP/UDP server and communicate with it, but can not connect to MySQL database. Can someone help me , give me some information about how to establish the connection. Thank you very much!Best regards,Ivan Ucherdzhiev2015-11-01 09:07 PM
This technically doesn't have anything to do with anything STM32 specific. MySQL defines a client/server protocol that has to be used. There was a MySQL client stack for lwIP on ARM's mbed stuff. That may be a place to start.
2015-11-05 12:30 AM
Hello again,
I made a MYSQL client library for STM32F4. I tested it and its working, I am able directly to connect STM32F4Discovery board to MySQL database , upload data in Tables from STM32F4Discovery, also download data from tables to
STM32F4Discovery board
.Best regards!