wikumW

Untitled

Sep 1st, 2023
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.08 KB | None | 0 0
  1. wikum@msi:~$ docker run -p 3306:3306 --name openmrs -e MYSQL_ROOT_PASSWORD=root -e TZ=PDT -d mysql:5.7.43 --default-authentication-plugin=mysql_native_password -h 127.0.0.1
  2. a4daef8ab5f15ac9f53735432cb0c01a9b35d2b7ebaf624e4f495ba883368100
  3. wikum@msi:~$ docker ps
  4. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  5. a4daef8ab5f1 mysql:5.7.43 "docker-entrypoint.s…" 7 seconds ago Up 6 seconds 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp openmrs
  6. wikum@msi:~$ docker exec -it a4daef8ab5f1 bash
  7. bash-4.2# mysql -u root -p
  8. Enter password:
  9. Welcome to the MySQL monitor. Commands end with ; or \g.
  10. Your MySQL connection id is 2
  11. Server version: 5.7.43 MySQL Community Server (GPL)
  12.  
  13. Copyright (c) 2000, 2023, Oracle and/or its affiliates.
  14.  
  15. Oracle is a registered trademark of Oracle Corporation and/or its
  16. affiliates. Other names may be trademarks of their respective
  17. owners.
  18.  
  19. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  20.  
  21. mysql> CREATE DATABASE openmrs;
  22. Query OK, 1 row affected (0.01 sec)
  23.  
  24. mysql> USE openmrs;
  25. Reading table information for completion of table and column names
  26. You can turn off this feature to get a quicker startup with -A
  27.  
  28. Database changed
  29. mysql> SHOW tables;
  30. +--------------------------------+
  31. | Tables_in_openmrs |
  32. +--------------------------------+
  33. | active_list |
  34. | active_list_allergy |
  35. | active_list_problem |
  36. | active_list_type |
  37. | clob_datatype_storage |
  38. | cohort |
  39. | cohort_member |
  40. | concept |
  41. | concept_answer |
  42. | concept_class |
  43. | concept_complex |
  44. | concept_datatype |
  45. | concept_description |
  46. | concept_map_type |
  47. | concept_name |
  48. | concept_name_tag |
  49. | concept_name_tag_map |
  50. | concept_numeric |
  51. | concept_proposal |
  52. | concept_proposal_tag_map |
  53. | concept_reference_map |
  54. | concept_reference_source |
  55. | concept_reference_term |
  56. | concept_reference_term_map |
  57. | concept_set |
  58. | concept_set_derived |
  59. | concept_state_conversion |
  60. | concept_stop_word |
  61. | concept_word |
  62. | drug |
  63. | drug_ingredient |
  64. | drug_order |
  65. | encounter |
  66. | encounter_provider |
  67. | encounter_role |
  68. | encounter_type |
  69. | field |
  70. | field_answer |
  71. | field_type |
  72. | form |
  73. | form_field |
  74. | form_resource |
  75. | global_property |
  76. | hl7_in_archive |
  77. | hl7_in_error |
  78. | hl7_in_queue |
  79. | hl7_source |
  80. | liquibasechangelog |
  81. | liquibasechangeloglock |
  82. | location |
  83. | location_attribute |
  84. | location_attribute_type |
  85. | location_tag |
  86. | location_tag_map |
  87. | logic_rule_definition |
  88. | logic_rule_token |
  89. | logic_rule_token_tag |
  90. | logic_token_registration |
  91. | logic_token_registration_tag |
  92. | note |
  93. | notification_alert |
  94. | notification_alert_recipient |
  95. | notification_template |
  96. | obs |
  97. | order_type |
  98. | orders |
  99. | patient |
  100. | patient_identifier |
  101. | patient_identifier_type |
  102. | patient_program |
  103. | patient_state |
  104. | person |
  105. | person_address |
  106. | person_attribute |
  107. | person_attribute_type |
  108. | person_merge_log |
  109. | person_name |
  110. | privilege |
  111. | program |
  112. | program_workflow |
  113. | program_workflow_state |
  114. | provider |
  115. | provider_attribute |
  116. | provider_attribute_type |
  117. | relationship |
  118. | relationship_type |
  119. | report_object |
  120. | report_schema_xml |
  121. | role |
  122. | role_privilege |
  123. | role_role |
  124. | scheduler_task_config |
  125. | scheduler_task_config_property |
  126. | serialized_object |
  127. | test_order |
  128. | user_property |
  129. | user_role |
  130. | users |
  131. | visit |
  132. | visit_attribute |
  133. | visit_attribute_type |
  134. | visit_type |
  135. +--------------------------------+
  136. 102 rows in set (0.00 sec)
  137.  
  138.  
Advertisement
Add Comment
Please, Sign In to add comment