Facebook
From Chocolate Porcupine, 1 Year ago, written in Plain Text.
This paste is a reply to Untitled from Speedy Ostrich - view diff
Embed
Download Paste or View Raw
Hits: 192
  1. root@openstack-1:~# docker exec -ti mariadb bash
  2. (mariadb)[mysql@openstack-1 /]$
  3. (mariadb)[mysql@openstack-1 /]$
  4. (mariadb)[mysql@openstack-1 /]$ mysql -ucinder -p
  5. Enter password:
  6. Welcome to the MariaDB monitor.  Commands end with ; or \g.
  7. Your MariaDB connection id is 1367415
  8. Server version: 10.5.15-MariaDB-1:10.5.15+maria~focal-log mariadb.org binary distribution
  9.  
  10. Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
  11.  
  12. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  13.  
  14. MariaDB [(none)]>
  15. MariaDB [(none)]>
  16. MariaDB [(none)]>
  17. MariaDB [(none)]>
  18. MariaDB [(none)]>
  19. MariaDB [(none)]>
  20. MariaDB [(none)]> show databases;
  21. +--------------------+
  22. | Database           |
  23. +--------------------+
  24. | cinder             |
  25. | information_schema |
  26. +--------------------+
  27. 2 rows in set (0.009 sec)
  28.  
  29. MariaDB [(none)]> use cinder;
  30. Reading table information for completion of table and column names
  31. You can turn off this feature to get a quicker startup with -A
  32.  
  33. Database changed
  34. MariaDB [cinder]>
  35. MariaDB [cinder]>
  36. MariaDB [cinder]>
  37. MariaDB [cinder]>
  38. MariaDB [cinder]> show tables;
  39. +----------------------------+
  40. | Tables_in_cinder           |
  41. +----------------------------+
  42. | alembic_version            |
  43. | attachment_specs           |
  44. | backup_metadata            |
  45. | backups                    |
  46. | cgsnapshots                |
  47. | clusters                   |
  48. | consistencygroups          |
  49. | default_volume_types       |
  50. | driver_initiator_data      |
  51. | encryption                 |
  52. | group_snapshots            |
  53. | group_type_projects        |
  54. | group_type_specs           |
  55. | group_types                |
  56. | group_volume_type_mapping  |
  57. | groups                     |
  58. | image_volume_cache_entries |
  59. | messages                   |
  60. | quality_of_service_specs   |
  61. | quota_classes              |
  62. | quota_usages               |
  63. | quotas                     |
  64. | reservations               |
  65. | services                   |
  66. | snapshot_metadata          |
  67. | snapshots                  |
  68. | transfers                  |
  69. | volume_admin_metadata      |
  70. | volume_attachment          |
  71. | volume_glance_metadata     |
  72. | volume_metadata            |
  73. | volume_type_extra_specs    |
  74. | volume_type_projects       |
  75. | volume_types               |
  76. | volumes                    |
  77. | workers                    |
  78. +----------------------------+
  79. 36 rows in set (0.001 sec)
  80.  
  81. MariaDB [cinder]>
  82.