I have several tables in dashDB and I want to access them from another server in order to filter out the data and insert it to a database on my own server.
In dashDB, there is a Service Credentials
section and I clicked "Add Credentials" and it outputted a json file with service credentials info.
I tried to run a simple PHP to test the connection :
<?php
$servername = "dashdb-entry-....";
$username = "dash....";
$password = "....";
// Create connection
$conn = new mysqli($servername, $username, $password);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?>
and it fails. The error is as follow:
Connection failed: A connection attempt failed because the
connected party did not properly respond after a period of time,
or established connection failed because connected host has failed to respond.
I checked service status of IBM and it seems that everything is running. Is it possible to access the dashDB outside the Blumix environment?