root@openstack-1:~# docker exec -ti mariadb bash (mariadb)[mysql@openstack-1 /]$ (mariadb)[mysql@openstack-1 /]$ (mariadb)[mysql@openstack-1 /]$ mysql -ucinder -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 1367415 Server version: 10.5.15-MariaDB-1:10.5.15+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)]> MariaDB [(none)]> MariaDB [(none)]> MariaDB [(none)]> MariaDB [(none)]> MariaDB [(none)]> MariaDB [(none)]> show databases; +--------------------+ | Database | +--------------------+ | cinder | | information_schema | +--------------------+ 2 rows in set (0.009 sec) MariaDB [(none)]> use cinder; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed MariaDB [cinder]> MariaDB [cinder]> MariaDB [cinder]> MariaDB [cinder]> MariaDB [cinder]> show tables; +----------------------------+ | Tables_in_cinder | +----------------------------+ | alembic_version | | attachment_specs | | backup_metadata | | backups | | cgsnapshots | | clusters | | consistencygroups | | default_volume_types | | driver_initiator_data | | encryption | | group_snapshots | | group_type_projects | | group_type_specs | | group_types | | group_volume_type_mapping | | groups | | image_volume_cache_entries | | messages | | quality_of_service_specs | | quota_classes | | quota_usages | | quotas | | reservations | | services | | snapshot_metadata | | snapshots | | transfers | | volume_admin_metadata | | volume_attachment | | volume_glance_metadata | | volume_metadata | | volume_type_extra_specs | | volume_type_projects | | volume_types | | volumes | | workers | +----------------------------+ 36 rows in set (0.001 sec) MariaDB [cinder]>