質問

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    
?>
役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top