سؤال

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