28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

should be 315, for example, 30015, if the instance is 00.<br />

The following is an example of a connection string:<br />

DRIVER={HDBODBC};UID=myUser;PWD=myPassword;SERVERNODE=myServer:30015;<br />

○ DSN (SQLConnect): Create a data source by running the odbcad32.exe tool. You can run this via a<br />

Related Links<br />

command line or via the Control Panel /Administrative Tools /Data Sources (ODBC) .<br />

Note:<br />

○ The application is located in the system32 directory. To create a data source for the 32-bit<br />

driver on a 64-bit Microsoft Windows machine, run the tool from the SysWOW64 directory.<br />

In the DSN tab, choose Add, select the <strong>SAP</strong> <strong>HANA</strong> driver, and select Finish. The following appears:<br />

You cannot enter a user name and password here. For the server and port, you can either enter a key<br />

created using the <strong>SAP</strong> <strong>HANA</strong> user store (which defines the server, port, user name and password), or you<br />

can enter a server and port (e.g., myServer:30015). If you enter a server and port, then the application<br />

must supply the user name and password when connecting.<br />

<strong>SAP</strong> <strong>HANA</strong> Database - Client Installation <strong>Guide</strong><br />

Using the User Store [page 356]<br />

14.1.1 Using the User Store<br />

The <strong>SAP</strong> <strong>HANA</strong> user store enables you to store connection information for connecting to an <strong>SAP</strong> <strong>HANA</strong> system.<br />

Instead of entering connection information each time you make a connection, you store the information, assign it<br />

a key, and use this key when making connections.<br />

This makes it easier to move between systems (for example, when executing SQL from the command line), and<br />

also keeps connection information, including user names and passwords, in a secure place.<br />

The <strong>SAP</strong> <strong>HANA</strong> user store is part of the client installation.<br />

356<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Using Database Client Interfaces

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!