Solutions for installing DB2: Administrator and db2admin with no permissions on the sample database

Source: Internet
Author: User

Install the sample database when installing the DB2 database (DB2 v 9.7 is used here). Only system has the permission for the installed sample database. The default mode is system, users using the Administrator and db2admin cannot access the tables in the sample database, and are not authorized to access the tables.

Step 1: Delete the sample database.

Step 2: add the db2amins group to the Administrator:

Step 3: Use DB2's "Step 1" to create a database

In this way, the administrator user has the permission to manage the sample. The default mode of the sample database is administrator. You can use the Administrator to authorize db2admin:

After authorization, the db2admin user also has the permission to access the sample data.

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.