cam-digital-hospitals / ElasticDT

Scalable, modular, SoA-based DT
GNU General Public License v3.0
0 stars 0 forks source link

1 add db servers #3

Closed yinchi closed 1 month ago

yinchi commented 1 month ago

MySQL

kubectl port-forward svc/ds-mysql 3306:mysql

In another terminal:

$ mysql --protocol=tcp --user=elasticdt -p --host=localhost elasticdt
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 16
Server version: 9.0.1 MySQL Community Server - GPL

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show tables;
Empty set (0.00 sec)

mysql> show grants;
+----------------------------------------------------------+
| Grants for elasticdt@%                                   |
+----------------------------------------------------------+
| GRANT USAGE ON *.* TO `elasticdt`@`%`                    |
| GRANT ALL PRIVILEGES ON `elasticdt`.* TO `elasticdt`@`%` |
+----------------------------------------------------------+
2 rows in set (0.00 sec)

Neo4j web portal:

Use web.neo4j.localhost Login with:

image