db:console

Open an interactive MariaDB console using the credentials from .env.


Usage

splent db:console

Description

Reads the database credentials (MARIADB_USER, MARIADB_PASSWORD, MARIADB_HOSTNAME, MARIADB_DATABASE) from the environment and opens a mysql interactive session directly. Useful for quick database inspection without needing to remember connection parameters.


Requirements

  • The database must be reachable.
  • mysql client must be available in the container (mariadb-client installed in the CLI image).

Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es