How to create New instance in db2 10.1 using IBM Data Studio

允我心安 提交于 2019-12-08 04:16:22

问题


How to create new instance in db2 10.1 using command line db2icrt command with example or using data studio client.

Anybody please reply.

Thanks


回答1:


Which OS are you usnig.

In Lunix/UNIX/OS X

You have two options:

  • Dedicated user for the instance

You need to create one user in the OS (useradd) with a file system

useradd -m db2inst2
/opt/db2/10.1/instance/db2icrt -u db2inst1 db2inst1
  • Your own user

You install DB2 in your home, and then your username will be the name of the instance (non-root installation)

In Windows

The command does not need a dedicated user for the instance.



来源:https://stackoverflow.com/questions/16030914/how-to-create-new-instance-in-db2-10-1-using-ibm-data-studio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!