on 08-07-2013 1:33 PM
Hi,
I am having trouble establishing a connection to Hana Database from Zend PHP framework .Can anyone give the syntax for database connection . Please advise on this .
Regards,
Vimal Barlota
Have you looked at http://scn.sap.com/community/developer-center/hana/blog/2013/01/21/php-rocks-on-sap-hana-too from ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying the following code . But still no luck .
$driver = "HDBODBC"; .
$servername = "EXTERNAL SERVER ADDRESS";
$db_name = "DBNAME";
$username = "SYSTEM";
$password = "manager";
$conn = odbc_connect("Driver=$driver;ServerNode=$servername;Database=$db_name;", $username, $password, SQL_CUR_USE_ODBC);
Regards,
Vimal
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.