tencent cloud


Managing Account

Last updated: 2022-05-26 15:34:07

    You can create an account for connection to a TencentDB for MariaDB instance. This document describes how to create an account in the TencentDB for MariaDB Console and modify account permissions.


    The account cannot be created or modified through command lines insert into mysql.user, grant, or drop currently.

    Creating an Account

    1. Log in to the MariaDB Console and click the instance ID or Manage in the "Operation" column to enter the instance management page.
    2. Select the Manage Account tab and click Create.
    3. In the pop-up dialog box, enter the account name, primary server, password, and remarks, and click Confirm and Go Next.
    • **Primary Server **: it is similar to a host, and supports IP, IP range, and %. % means all the IP addresses within a range. For example, to support all IPs from to, enter 10.10.10.%.
    • Create as read-only account: if you check this option, the account can only use read-only requests (select).

      You need to set permissions separately for different primary server IPs under the same account. You can use the Clone Account feature in account management to quickly clone similar accounts and set their permissions.

    1. In the pop-up dialog box, set the database permissions and click Save Settings, or click Set Later.

    Setting Permissions

    1. On the account management page, click Modify Permissions in the "Operation" column.
    2. In the pop-up dialog box, grant permissions based on your needs and click Save Settings.
      The permissions of MariaDB are defined at the object level, including 19 permissions of database. You can set permissions for objects such as tables, views, functions and triggers.

      You need to create a database before setting the object-level permissions.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support