Advertisement
Guest User

Untitled

a guest
Aug 15th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 KB | None | 0 0
  1. Enter password: *********
  2. Welcome to the MySQL monitor. Commands end with ; or \g.
  3. Your MySQL connection id is 18
  4. Server version: 5.7.17-log MySQL Community Server (GPL)
  5.  
  6. Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
  7.  
  8. Oracle is a registered trademark of Oracle Corporation and/or its
  9. affiliates. Other names may be trademarks of their respective
  10. owners.
  11.  
  12. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  13.  
  14. mysql> show databases;
  15. +--------------------+
  16. | Database |
  17. +--------------------+
  18. | information_schema |
  19. | myserver |
  20. | mysql |
  21. | openmrs |
  22. | ourserver |
  23. | performance_schema |
  24. | platform-2-3-0 |
  25. | sakila |
  26. | server1 |
  27. | server3 |
  28. | sys |
  29. | world |
  30. | yoserver |
  31. +--------------------+
  32. 13 rows in set (0.01 sec)
  33.  
  34. mysql> use openmrs;
  35. Database changed
  36. mysql> show tables;
  37. +--------------------------------+
  38. | Tables_in_openmrs |
  39. +--------------------------------+
  40. | allergy |
  41. | allergy_reaction |
  42. | care_setting |
  43. | clob_datatype_storage |
  44. | cohort |
  45. | cohort_member |
  46. | concept |
  47. | concept_answer |
  48. | concept_attribute |
  49. | concept_attribute_type |
  50. | concept_class |
  51. | concept_complex |
  52. | concept_datatype |
  53. | concept_description |
  54. | concept_map_type |
  55. | concept_name |
  56. | concept_name_tag |
  57. | concept_name_tag_map |
  58. | concept_numeric |
  59. | concept_proposal |
  60. | concept_proposal_tag_map |
  61. | concept_reference_map |
  62. | concept_reference_source |
  63. | concept_reference_term |
  64. | concept_reference_term_map |
  65. | concept_set |
  66. | concept_state_conversion |
  67. | concept_stop_word |
  68. | conditions |
  69. | drug |
  70. | drug_ingredient |
  71. | drug_order |
  72. | drug_reference_map |
  73. | encounter |
  74. | encounter_diagnosis |
  75. | encounter_provider |
  76. | encounter_role |
  77. | encounter_type |
  78. | field |
  79. | field_answer |
  80. | field_type |
  81. | form |
  82. | form_field |
  83. | form_resource |
  84. | global_property |
  85. | hl7_in_archive |
  86. | hl7_in_error |
  87. | hl7_in_queue |
  88. | hl7_source |
  89. | liquibasechangelog |
  90. | liquibasechangeloglock |
  91. | location |
  92. | location_attribute |
  93. | location_attribute_type |
  94. | location_tag |
  95. | location_tag_map |
  96. | note |
  97. | notification_alert |
  98. | notification_alert_recipient |
  99. | notification_template |
  100. | obs |
  101. | obs_unused_fields |
  102. | order_frequency |
  103. | order_group |
  104. | order_set |
  105. | order_set_member |
  106. | order_type |
  107. | order_type_class_map |
  108. | orders |
  109. | patient |
  110. | patient_identifier |
  111. | patient_identifier_type |
  112. | patient_program |
  113. | patient_program_attribute |
  114. | patient_state |
  115. | person |
  116. | person_address |
  117. | person_attribute |
  118. | person_attribute_type |
  119. | person_merge_log |
  120. | person_name |
  121. | privilege |
  122. | program |
  123. | program_attribute_type |
  124. | program_workflow |
  125. | program_workflow_state |
  126. | provider |
  127. | provider_attribute |
  128. | provider_attribute_type |
  129. | relationship |
  130. | relationship_type |
  131. | report_object |
  132. | report_schema_xml |
  133. | role |
  134. | role_privilege |
  135. | role_role |
  136. | scheduler_task_config |
  137. | scheduler_task_config_property |
  138. | serialized_object |
  139. | test_order |
  140. | user_property |
  141. | user_role |
  142. | users |
  143. | visit |
  144. | visit_attribute |
  145. | visit_attribute_type |
  146. | visit_type |
  147. +--------------------------------+
  148. 107 rows in set (0.01 sec)
  149.  
  150. mysql> desc order_group;
  151. +--------------------+--------------+------+-----+---------+----------------+
  152. | Field | Type | Null | Key | Default | Extra |
  153. +--------------------+--------------+------+-----+---------+----------------+
  154. | order_group_id | int(11) | NO | PRI | NULL | auto_increment |
  155. | order_set_id | int(11) | YES | MUL | NULL | |
  156. | patient_id | int(11) | NO | MUL | NULL | |
  157. | encounter_id | int(11) | NO | MUL | NULL | |
  158. | creator | int(11) | NO | MUL | NULL | |
  159. | date_created | datetime | NO | | NULL | |
  160. | voided | tinyint(1) | NO | | 0 | |
  161. | voided_by | int(11) | YES | MUL | NULL | |
  162. | date_voided | datetime | YES | | NULL | |
  163. | void_reason | varchar(255) | YES | | NULL | |
  164. | changed_by | int(11) | YES | MUL | NULL | |
  165. | date_changed | datetime | YES | | NULL | |
  166. | uuid | char(38) | NO | UNI | NULL | |
  167. | order_group_reason | int(11) | YES | MUL | NULL | |
  168. +--------------------+--------------+------+-----+---------+----------------+
  169. 14 rows in set (0.01 sec)
  170.  
  171. mysql> ^C
  172. mysql>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement