SAP HANA Server server
name is provided on your cloudshare VM list in VM details of your SAP HANA SPS5 server VM under External Address
property. SAP HANA server port
number is 30015. You can also have a look at Connecting to your hana database from php using odbc.
Connecting to Hana From Zend PHP
-
23-06-2022 - |
Question
I want to connect to Hana Server hosted on cloudshare from PHP. Following code I am trying but Still no luck. Please suggest the correct syntax also I need to specify the Server:Port
to set up ODBC "User DSN"
. Where can i find the Server:port
?
<?php
$ServerNode='External Address';
$DRIVER='HDBODBC';
odbc_connect($DRIVER,$ServerNode,$user,$password, SQL_CUR_USE_ODBC
?>
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow