Access MariaDB

Table of contents

  1. Access to console
  2. Exit console

Access to console

To directly use the MariaDB console to execute native SQL statements, use:

rosemary db:console

This command connects to the MariaDB container using the credentials defined in the .env file.

Exit console

To exit the MariaDB console, type:

exit;