The examples in this MariaDB Connector/R2DBC documentation depend on a database test and table contact.
Create a test database if one does not exist with the CREATE DATABASE statement:
Create a user account to test connectivity with the CREATE USER statement:
Ensure that the user account has privileges to access the tables with the GRANT statement:
This page is: Copyright © 2025 MariaDB. All rights reserved.
CREATE DATABASE IF NOT EXISTS test;CREATE USER 'connr2dbc_test'@'192.0.2.50'
IDENTIFIED BY 'db_user_password';GRANT ALL PRIVILEGES
ON test.*
TO 'connr2dbc_test'@'192.0.2.50';