Cara masuk ke MySQL dengan akun root EasyEngine

Berikut cara masuk ke MySQL dengan akun root EasyEngine

cd /opt/easyengine/services && docker-compose exec global-db bash -c 'mysql -uroot -p${MYSQL_ROOT_PASSWORD}'
Code language: PHP (php)

Hasilnya

Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 15 Server version: 10.5.4-MariaDB-1:10.5.4+maria~focal-log mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]>
Code language: JavaScript (javascript)

Selesai.

Tinggalkan komentar