cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f4 Mysql connection

ivanucherdjiev
Associate II
Posted on October 31, 2015 at 12:07

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 Ucherdzhiev

2 REPLIES 2
bobert
Associate III
Posted on November 02, 2015 at 06:07

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.

ivanucherdjiev
Associate II
Posted on November 05, 2015 at 09:30

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!