· You use a supported Microsoft Windows operating system.
· You have installed OpenOffice (www.openoffice.org).
· You have installed the MaxDB software including the ODBC driver (see the Installation Manual, Installation Profile) and configured it (see ODBC, Installation on Microsoft Windows).
· You have created the database instance DEMODB, the database user MONA and the schema HOTEL and filled the tables with data (see SQL Tutorial, HOTEL Demo Schema for the SQL Tutorial).
· The database instance DEMODB is in the ONLINE operational state.
· The X Server is started.
Depending on your system landscape, the procedure may differ from the one described here.
...
1. Call the ODBC Data Source Administrator.
2. To create a new data source for DEMODB, go to the User DSN tab and choose Add...
3. Choose the MaxDB ODBC driver MaxDB and enter the following information:
ODBC Configuration of Data Sources
Property |
Value |
Data Source Name |
Enter a name, for example maxdb_demodb |
Description |
Description, for example My demo database |
Server |
Computer on which the database instance is located. You can leave this field empty if the database instance is located on the local computer. |
Database |
DEMODB |
To make optional entries, choose Settings.
4. Confirm all entries and close the ODBC Data Source Administrator.
5. Configure the database instance DEMODB as a data source in OpenOffice. To do this, you require the following information:
Information on the Data Source
Property |
Value |
Name |
Name of your choice, for example demo database |
Database Type |
ODBC |
Data Source URL |
Data source, for example maxdb_demodb |
User Name |
Name of the database user, for example MONA |
Password Required |
Specifies whether a password is required |
Now you can display and edit the tables of the database instance. If required, enter the password of the database user.
Always specify the user name and password in uppercase.
If problems occur when you log on to the database instance, or if the tables are not displayed correctly, then you can switch on the ODBC trace for troubleshooting; see Traces. Note that writing a trace seriously affects the database system’s performance.
See also:
Developing Database Applications