rapid-crowd-46218
04/11/2023, 2:40 PMkubectl create secret generic mysql-secrets --from-literal=mysql-root-password=<<password>>
this password is my db password in aws mysql.
sql:
datasource:
host: "<<rds-endpoint>>:3306"
hostForMysqlClient: "<<rds-endpoint>>"
port: "3306"
url: "jdbc:mysql://<<rds-endpoint>>:3306/datahub?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8"
driver: "com.mysql.jdbc.Driver"
username: "root"
password:
secretRef: mysql-secrets
secretKey: mysql-root-password
rds-endpoint is the writer endpoint value of the my AWS MySQL instance that I created.
And I changed the username to another userid that I created instead of using "root". Do I have to use only "root" as the username value?
Could you please provide me with the correct way to connect AWS RDS to DataHub? Thank you in advance.lively-cat-88289
04/11/2023, 2:40 PMastonishing-answer-96712
04/12/2023, 7:52 PMrapid-crowd-46218
04/13/2023, 2:07 AMurl: "jdbc:mysql://<<rds-endpoint>>:3306/datahub?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8&enabledTLSProtocols=TLSv1.2"