...
Create the SAP HANA database instance. The working directory is
saphana
.Code Block $ ./saphana_create_instance.sh [<SAP HANA admin user>] [<SAP HANA admin password>]
If no error occurs, the database creation is now complete and the rest of this section can be ignored.
Hint! After the instance creation script is executed, there will be a log file in the/tmp
directory that can be used for troubleshooting. Themz_db.log
file contains SAP HANA responses from the database creation.If the script fails, clean up the system before the next try:
Stop DB (this is needed to drop it):
Code Block hdbsql -i 90 -d SystemDB -u SYSTEM -p QAmzadm1n "ALTER SYSTEM STOP DATABASE MZ"
Drop DB:
Code Block hdbsql -i 90 -d SystemDB -u SYSTEM -p QAmzadm1n "DROP DATABASE MZ"
...