Setup for Examples
This page is part of MariaDB's Documentation.
The parent of this page is: Using Spring Data with MariaDB Connector/R2DBC
Topics on this page:
Overview
The examples in this MariaDB Connector/R2DBC documentation depend on a database test
and table contact
.
Create the Schema
Create a test
database if one does not exist with the statement:
CREATE DATABASE IF NOT EXISTS test;
Create the User
Create a user account to test connectivity with the
statement:CREATE USER 'connr2dbc_test'@'192.0.2.50' IDENTIFIED BY 'db_user_password';
Ensure that the user account has privileges to access the tables with the
statement:GRANT ALL PRIVILEGES ON test.* TO 'connr2dbc_test'@'192.0.2.50';