Get connection information for Bluemix SQL Database

Asked 2 years ago, Updated 2 years ago, 75 views

I'm only trying to use the SQL Database service from Bluemix.
When I bind a service to an instance, the connection information is set in the environment variable, but can I use only the service directly without creating an instance?How can I know the connection information?

bluemix

2022-09-30 19:44

1 Answers

SQL Database can be connected from outside as well as from applications running on Bluemix.However, the only way to get the information needed for the connection is to bind to the instance and check the value of the environment variable VCAP_SERVICES.(I checked with Free beta, small plan)

In the case of dashDB, which is DBaaS of the same DB2, you can check the connection information from the dashboard without connecting to the instance.SQL Database may change like that in the future.


2022-09-30 19:44

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.