Skip to content
virtualWinter edited this page Aug 31, 2025 · 1 revision

MySQL

The storage-mysql module provides a simple way to interact with a MySQL database.

Usage

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

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

// ... perform operations with the connection

// Close the connection
mysql.end();

Clone this wiki locally