tencent cloud

TencentDB for MariaDB

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Strengths
Use Cases
System Architecture
Instance Types
Instance Architecture
TDSQL Edition
Database Version
Purchase Guide
Billing Overview
Pricing
Refund
Payment Overdue
Upgrade Pricing
Backup Space Billing
Getting Started
Creating Instance
Managing Account
Accessing Instance
Operation Guide
Precautions
Instance Management
Disaster Recovery Read-Only Instance
Account Management
Read/Write Separation
Changing Networks
Backup and Rollback
Migrating Data
Database Sync(Legacy)
Security Management
Monitoring and Alarms
Killing Threads
Parameter Templates and Settings
Database Audit
Practical Tutorial
Programming and Usage Specification
Programming and Usage Specification of Distributed Version
Using Hotspot Update for Flash Sales
Security White Paper
Platform Security Features
Tenant Security Features
Development Guide
Functional Limitations
Performance Test
Intra-city Active-Active Solution
Binlog Consumption Format
Slow Query Analysis
Database Audit
Syntax Supported
API Documentation
History
Introduction
API Category
Making API Requests
Security Group APIs
Other APIs
Account APIs
Parameter Management APIs
Monitoring Management APIs
Instance Management APIs
Backup and Restoration APIs
Data Types
Error Codes
FAQs
Product
Account Login
Features
Performance
Backup
Ops
Disk Overuse
IO Metric Exception
General References
Standards and Certification
Main Specification Performance Description
Performance Comparison Data for Strong Sync
Glossary

Managing Account

PDF
フォーカスモード
フォントサイズ
最終更新日: 2024-01-11 15:21:58
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.
Note:
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 TencentDB for MariaDB console. Click an instance ID or Manage in the Operation column to enter the instance management page.
2. On the instance management page, select Account Management and click Create Account.
3. In the pop-up dialog box, enter the account name, primary server, password, and remarks, and click Confirm and Go Next.
Create as Read-Only Account: If you check this option, the account can only use read-only requests (select).
Note:
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.
**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 10.10.10.1 to 10.10.10.254, enter 10.10.10.%.
Maximum Connections: The number of concurrent connections under this account, which is subjected to the maximum connections of the instance and can be set when creating an account for TencentDB for MariaDB 5.7 and 8.0.


4. To set the account permission as Read-Only, you need to set the connection of the read-only account.
5. 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.
Note:
You need to create a database before setting the object-level permissions.



ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック