Category: MariaDB

MariaDB Logical Operators: AND, OR, XOR, and NOT
Combine MariaDB conditions with AND, OR, XOR, and NOT. Run the same sample queries to see how NULL, WHERE, parentheses, and SQL mode affect the result.

How to Manage MariaDB User Accounts and Privileges
Create and inspect a MariaDB account, grant table-level access, change its name and password, and verify what happens when you revoke access or delete the account.

How to Install the Employees Sample Database in MariaDB
Import the Employees sample database into a MariaDB practice server. Verify the target, run employees.sql, and check the expected tables and row counts.

MariaDB Comparison Operators for Values, Ranges, and NULL
Compare numbers, strings, and dates in MariaDB. Run examples for WHERE, BETWEEN, IN, null-safe equality, and three-valued logic.

MariaDB / How to Configure and Read the Slow Query Log
Enable MariaDB slow query logging without restarting, and make the configuration persistent on Ubuntu or Rocky Linux. Learn to verify logging, distinguish global and session settings, summarize expensive SQL, and restore or manage the logging configuration.

MariaDB / How to Change the Data Directory on Ubuntu and Windows
Move an existing MariaDB data directory on Ubuntu or Windows with a controlled shutdown, a complete file copy, configuration and permission changes, and checks for persistence. Learn how to diagnose startup failures and when a rollback is safe.

MariaDB Tutorial / Understand Replication, Lag, Errors, and Failover
Prepare a two-server local Compose lab and interpret replication status, lag and errors. Observe apply-thread pause/resume behavior and distinguish replication from backup and controlled failover.

MariaDB Tutorial / Inspect Server Settings, SQL Modes, Time Zones, and Logs
Distinguish option files, GLOBAL defaults, and SESSION settings. Reproduce a SQL-mode error, compare time-zone behavior of TIMESTAMP and DATETIME, inspect log conditions, and restore changes deliberately.

MariaDB Tutorial / Connect Python to MariaDB and Use Parameterized Queries
Use a complete PyMySQL program to connect, insert, select, commit, and roll back. Keep apostrophes, Unicode, and injection-shaped inputs as values, and restrict dynamic sorting through an identifier allowlist.

MariaDB Tutorial / Schedule Database Tasks and Verify Event Results
Create a disabled one-time event, reschedule it into the future, and verify both execution metadata and its result row. Understand recurring-task overlap, retries, privileges, time zones, and cleanup.