MySQL MaxDB Installation
========================

This Readme describes how to install the MySQL MaxDB database software using the MaxDB Installation Manager. At the moment, the MaxDB Installation Manager is available on Linux i386, ia64, x86_64 and on Microsoft Windows.


Constraints
-----------
This Readme is not relevant for installing or uninstalling MaxDB software in SAP systems. The installation or uninstallation of the MaxDB software required for SAP systems is described in SAP-specific guides. SAP customers can find these guidelines in the SAP Service Marketplace at http://service.sap.com.


Requirements
------------
- Linux: glibc >= 2.3.3, gtk 2.x, X server (the root user must be able to access a display).
additionally, Linux i386 requires glibc with TLS (thread local storage) support
- Microsoft Windows: Microsoft Windows 2000 SP2 or higher


Installing MaxDB on Linux
-------------------------
1. Open a root shell.
If kdesu is installed on your system, you can use kdesu instead of opening a root shell.
2. Change to the directory which contains the MaxDB package you have downloaded. 
3. Unpack the MaxDB package.
4. To start the Installation Manager, enter ./SDBSETUP
5. Choose "Start MaxDB installation". Follow the instructions of the Installation Manager. 
6. After finishing the installation, exit the root shell. 
7. Update the PATH environmental variable for the operating system user who is going to operate MaxDB, for example using export PATH=/opt/sdb/programs/bin:$PATH
If necessary, add it to the login profile of the operating system user as well (for example, .bash_profile in the user's home directory). 


Installing MaxDB on Microsoft Windows
-------------------------------------
1. Change to the directory which contains the MaxDB package you have downloaded.
2. Unpack the MaxDB package.
3. To start the Installation Manager, double-click SDBSETUP.exe. 
4. Choose "Start MaxDB installation".  Follow the instructions of the Installation Manager. 
5. After finishing the installation, reboot Microsoft Windows. 


Showing installed MaxDB components
----------------------------------
To display which MaxDB components have been installed, enter the following command on the command line: sdbregview -l


Uninstalling MaxDB on Linux
---------------------------
1. Open a shell.
2. Stop all database instances:
dbmcli –d <database_name> -u <dbm_user_name>,<dbm_user_password> db_offline 
3. Drop all database instances:
dbmcli –d <database_name> -u <dbm_user_name>,<dbm_user_password> db_drop 
4. Exit all MaxDB programs. 
5. Open a root shell and enter /opt/sdb/programs/bin/sdbuninst –all

 
Uninstalling MaxDB on Microsoft Windows
---------------------------------------
1. Open a command prompt.
2. Stop all database instances:
dbmcli –d <database_name> -u <dbm_user_name>,<dbm_user_password> db_offline 
3. Drop all database instances:
dbmcli –d <database_name> -u <dbm_user_name>,<dbm_user_password> db_drop 
4. Exit all MaxDB programs. 
5. Enter sdbuninst -all 
