You need to open a database tunnel to SAP HANA Cloud. It’s not possible to make connection directly.
First you need to download SAP HANA Cloud Platform SDK for Java Web (tools.hana.ondemand.com), which contains the console client:
After that you can open the tunnel with the “neo open-db-tunnel” command:
Host (the -h parameter) is hanatrial.ondemand.com in your case.
User (-u) is your user name, probably the e-mail address, which you used for registration to the SAP Hana Cloud Platform.
Account (-a) should be probably something like p1234567890trial - you can find the information in the SAP HANA Cloud Platform Cockpit.
Schema ID (–id) can be again found on the Cockpit page (dev or something like that).
After you open the tunnel, you can connect to the database. Use the connection information displayed in the console client window.
Should you have any further problems with SAP HANA Cloud please try contacting SAP technical support first. They will be the best source of information.