---
title: "MySQL_MariaDB_Generic"
url: "https://maker.wiznet.io/taylor/projects/MySQLMariaDBGeneric/"
markdown_url: "https://maker.wiznet.io/taylor/projects/MySQLMariaDBGeneric/md"
type: "UCC: User Created Content"
author: "taylor"
original_author: "taylor"
original_url: "https://github.com/khoih-prog/MySQL_MariaDB_Generic"
published: "2020-09-17"
language: "en"
hardware: ["Arduino", "Ethernet Shield"]
likes: 0
views: 350
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# MySQL_MariaDB_Generic

> MySQL_MariaDB_Generic

Original author: taylor (source: https://github.com/khoih-prog/MySQL_MariaDB_Generic)

## Components

- **Arduino** x 1
- **Ethernet Shield** x 1

## Documents and links

- [Github](https://github.com/khoih-prog/MySQL_MariaDB_Generic) (code)

## Article

### Why do we need this [MySQL_MariaDB_Generic library](https://github.com/khoih-prog/MySQL_MariaDB_Generic)

Have you ever wanted to connect your Arduino project to a database to either store the data you've collected or retrieve data saved to trigger events in your sketch? Well, now you can connect your Arduino project directly to a MySQL / MariaDB server without using an intermediate computer or a web-based or cloud-based service. Having direct access to a MySQL / MariaDB database server means you can store data acquired from your project as well as check values stored in tables on the server. This also means you can setup your own, local MySQL server to store your data further removing the need for Internet connectivity. If that is not an issue, you can still connect to and store data on a MySQL server via your network, Internet, or even in the cloud! This [MySQL_MariaDB_Generic library](https://github.com/khoih-prog/MySQL_MariaDB_Generic) will let you to do exactly that and more! This [MySQL_MariaDB_Generic library](https://github.com/khoih-prog/MySQL_MariaDB_Generic) is based on and modified from [Dr. Charles Bell's MySQL_Connector_Arduino Library](https://github.com/ChuckBell/MySQL_Connector_Arduino) to provide support to many more boards and shields, such as ***Arduino SAMD21, Adafruit SAMD21/SAMD51, Seeeduino SAMD21/SAMD51, nRF52, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, AVR Mega, etc.***. Those supported boards can be used with ***ESP8266/ESP32’s WiFi, WiFiNINA, W5x00/ENC28J60/LAN8742A Ethernet, ESP8266/ESP32-AT modules/shields.***

---

Source: https://maker.wiznet.io/taylor/projects/MySQLMariaDBGeneric/
