Configuring the database infrastructure
Before creating the Connections Docs databases, you must complete these steps need to ensure that the data will be stored in UTF-8 format.
Configuring DB2 for Unicode on Linux
- Open a terminal window on the IBM® DB2® server.
- Change to the DB2 admin user, for example, db2admin:
su – db2admin
- Run the following commands:
- db2set DB2CODEPAGE=1208
- db2stop force
- db2start
- Check the configuration with the following command:
db2set
Configuring DB2 for Unicode on Windows
If
you are logged in as an existing user, go to the start menu and select
the option to switch users (arrow option next to the Log
off button).
- Log in to the server as a DB2 administrator (db2admin).
- Open a db2cmd window on the IBM DB2 server.
- Run the following commands:
- db2set DB2CODEPAGE=1208
- db2stop force
- db2start
- Check the configuration with the following command:
db2set