Windows DB2 Add User rights

Source: Internet
Author: User
Tags db2

Http://www.csharpwin.com/csharpspace/12086r9069.shtml

A system administrator's account is created when the DB2 database is installed on Windows , and the default is Db2admin. There will also be two user groups Db2admns and db2users in the "Local Users and Groups" group of the operating system, and the resulting db2admin account will be added to the operating system account and added to the two groups, and if your operating system account does not add another domain, The next time the computer starts, you will be logged in by default with the Db2admin account.

The Add user step is as follows: one: Right-click on my Computer, or open the Manage menu item by clicking Manage or opening the "Computer Management" console from the Control Panel. Two: Select "Local Users and Groups", add a user, for example: Username Chenjialin password 123.          Tick "User must change password at next logon" and tick "Password never expires" option.          Three: Add user Chenjialin to user group Db2admns and db2users. Four: In the object tree in the left panel of Control Center, expand all Databases > EXPRESS > User and Group Objects > database users, right-click to select Create, select User "Chenjialin" in the popup dialog box, Check the permissions on it and click OK. or perform SQL"GRANT dbadm,createtab,bindadd,connect,create_not_fenced_routine,implicit_schema,load,
Create_external_routine,quiesce_connect,secadm on DATABASE to USER Chenjialin; " Note, however, that users who create users have large enough permissions, such as Db2admin.

Windows DB2 Add User rights

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.