문제

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