This documentation describes the integration of MindsDB with SAP HANA, a multi-model database with a column-oriented in-memory design that stores data in its memory instead of keeping it on a disk. The integration allows MindsDB to access data from SAP HANA and enhance SAP HANA with AI capabilities.Documentation Index
Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or Docker Desktop.
- To connect SAP HANA to MindsDB, install the required dependencies following this instruction.
Connection
Establish a connection to SAP HANA from MindsDB by executing the following SQL command and providing its handler name as an engine.address: The hostname, IP address, or URL of the SAP HANA database.port: The port number for connecting to the SAP HANA database.user: The username for the SAP HANA database.password: The password for the SAP HANA database.
- ‘database’: The name of the database to connect to. This parameter is not used for SAP HANA Cloud.
schema: The database schema to use. Defaults to the user’s default schema.encrypt: The setting to enable or disable encryption. Defaults to `True’
Usage
Retrieve data from a specified table by providing the integration, schema and table names:The above examples utilize
sap_hana_datasource as the datasource name, which is defined in the CREATE DATABASE command.