Skip to content

Using an Environment

MySQL

For Magento 2, your environment comes with a MariaDB 10.2 service. This is not externally accessible. Internally, it uses the following credentials:

  • Hostname: db
  • Username: root
  • Password: n/a

Connecting to MySQL via the command line

If you wish to connect to the MySQL via the command line, then please follow these steps:

  1. Login to your environment via SSH.
  2. Run the command mysql -h db -uroot