All Products
Search
Document Center

ApsaraDB for MyBase:Host permissions

Last Updated:Mar 28, 2026

ApsaraDB for MyBase grants operating system (OS)-level access to dedicated database hosts, so database administrators (DBAs) can log on, upload and install software directly on the host.

Prerequisites

Before you begin, ensure that you have:

Background

ApsaraDB for MyBase allows you to obtain more autonomous and controllable permissions by enabling operating system (OS) permissions. This helps database administrators (DBAs) to make full use of their skills, and also helps to solve database problems in a timely manner.

MyBase OS permissions are suited for the following scenarios:

  • Financial and insurance enterprises — Establish reliable audit mechanisms to meet strict security regulatory requirements.

  • Internet enterprises — Run efficient and stable audit systems as the number of employees and servers grows.

MySQL and PostgreSQL host permissions

    Directory permissions

    The following table lists the OS directory permissions available on MySQL and PostgreSQL hosts.

    PermissionDirectoryNotes
    r-xboot
    r-xdev
    r-xdisk12930121
    r-xdisk12930121/mysql/12930121/data/mysqlStorage capacity of a database instance
    r-xetc
    r--grub_file
    ---home
    r-xhost
    r-xmedia
    r-xmnt
    r-xopt
    r-xproc
    ---root
    r-xrun
    r-xsrv
    r-xsys
    rwttmp
    r-xu01Service data directory
    r-xu02Service log directory
    r-xuserdata
    rwxuserdata/data1Directory where the user data disk is mounted
    r-xusr
    r-xvar

    Command permissions

    The following tables list the commands and tools available on MySQL and PostgreSQL hosts, grouped by category.

    Note

    To install software not listed below, use YUM as a non-root user.

    Process and network inspection

    CommandAvailable
    psYes
    ssYes
    netstatYes
    lsofNo
    iftopNo
    iotopNo
    nmapNo
    tcpdumpNo

    File operations

    CommandAvailable
    vimYes
    wgetYes
    curlYes
    rsyncYes
    gzipYes
    telnetYes
    unzipNo
    lrzszNo

    Build tools

    CommandAvailable
    yumYes
    makeYes
    gccYes
    Percona ToolkitYes
    cmakeNo
    g++No

    Service and process management

    CommandAvailable
    killYes
    pkillYes
    psmiscYes
    serviceNo
    systemctlNo
    iptablesNo

    System utilities

    CommandAvailable
    sysstatYes
    bind-utilsYes
    bcYes
    net-toolsYes
    screenNo
    sendmailNo
    mysql-clientNo
    treeNo
    traserouteNo

    SQL Server host permissions

    SQL Server hosts run on Windows. Two account types are available.

    Account typeDescription
    Normal AccountStandard account with the permissions of the Remote Desktop Users group.
    AdministratorPrivileged account admin with local group administrator permissions in Windows.