Skip to content

MariaDB

virtualWinter edited this page Aug 31, 2025 · 1 revision

MariaDB

The storage-mariadb module provides a simple way to interact with a MariaDB database.

Usage

// Initialize the MariaDB connection
MariaDB mariadb = new MariaDB("localhost", 3306, "mydatabase", "user", "password", true);
mariadb.init();

// Get a connection
Connection connection = mariadb.getConnection();

// ... perform operations with the connection

// Close the connection
mariadb.end();

Clone this wiki locally