Olimex Support Forum

Microcontrollers => ESP8266 => Topic started by: dimis1989 on June 12, 2018, 08:18:14 AM

Title: Esp8266 connected with sqlserver
Post by: dimis1989 on June 12, 2018, 08:18:14 AM
I'm trying to figure out if it is possible to connect esp8266 directly with a sql database.
I have create a local sql server.

So i wondering if i can connect esp8266 to this server and sending or receiving data using my sql queries.
Example:
I try something like below for connecting to sql database

    AT+CIPMUX=1
    AT+CIPSERVER=1,80
    AT+CIPSTART="TCP","Server=localhost;database=test;user id=root;password=1234;SslMode=none"

Unfortunately i'm taking error;
Is there any way which i can connect esp8266 direct to mysql server, and giving or receiving data through there?