Three-Minute Guide to Database DevOps Professional Edition | Enterprise Edition
This article will introduce you from scratch on how to use NineData's Database DevOps Professional Edition | Enterprise Edition, helping you quickly understand and get started with it.
Please select your scenario to jump to the appropriate operation steps
Promotion Details
Database DevOps Professional Edition offers 10 instances for permanent free use.
Step One: Register for a NineData Account
Open the NineData Registration Page.

Enter your phone number and click Get Verification Code, then enter the verification code sent by the NineData system.
tipOnly phone numbers from Mainland China are currently supported. If you are using a phone number outside the +86 area, you can only receive the verification code via email.
Enter your username and password.
tipThe password strength requirements are as follows:
The password can contain letters, numbers, and special characters.
Length is 8~16 characters.
Must contain both letters and numbers.
Cannot contain empty characters (spaces).
Enter your email and company name, read the Terms of Service and Privacy Policy carefully, then check the box in front of I have read and agree, and click Sign up.
tipIf you have already entered your email in the above steps, you do not need to enter it again.
Step Two: Log in to NineData
Open the NineData Login Page.

You can choose to log in via Password Login, Code Login, Login With SSO, or Login with WeChat .
Password Login: Enter the phone number or email used during registration, and enter the password, then click Login.
tip- If you are using a phone number outside the +86 area, you cannot log in via phone number at the moment. Please use the email used during registration to log in.
- If you have forgotten your login password, you can click Forgot Password in the lower right corner to Reset Password.
Code Login Click Code Login, enter the phone number used during registration, click Get Code, and enter the verification code sent by the NineData system, then click Login.
tipIf you are using a phone number outside the +86 area, please enter the email used during registration to receive the verification code.
Login With SSO: Log in to NineData via SSO. For more information, please refer to Log in to NineData via SSO.
Login with WeChat : Log in to NineData by scanning the WeChat QR code.
Step Three: Invite Enterprise Members
Log in to the NineData Console.
In the left navigation bar, click Account**User**.
tipIf you cannot find Account, please confirm that your console is in organization mode. How to switch from personal mode to organization mode, please refer to Switch to Organization.
On the User page, click Invite in the upper right corner.
In the Invite dialog box, enter the email of the member you wish to invite to join the organization, and assign a role to that member by binding, then click OK. You can also click Add to invite multiple users at once.
Role DescriptionEach role corresponds to a series of permissions. Users who are bound to a certain role have all the permissions corresponding to that role. You can also create custom roles according to your needs and authorize them. For more information, please refer to Manage Roles.
Click OK to complete the user invitation. At this point, NineData will send an invitation email to the user's email. After the user accepts the invitation and completes the registration or login, they can join the organization.
Step Four: Add Data Sources
This article takes adding an Alibaba Cloud RDS MySQL public instance to NineData as an example to introduce how to add data sources. For other scenarios, please refer to Create Data Sources.
Add the following NineData service node IPs to the whitelist of the Alibaba Cloud RDS MySQL instance. How to add a whitelist, please refer to the Alibaba Cloud Official Documentation.
- Hangzhou: 121.199.39.25
- Beijing: 123.57.58.208
- Zhangjiakou: 39.98.193.245
- Shenzhen: 112.74.171.41
- Shanghai: 116.63.42.85
Log in to the NineData Console.
In the left navigation bar, click Datasource**Datasource**.
Configure the data source according to the page prompts.
After all configurations are completed, click Create Datasource next to Connection Test to test whether the data source can be accessed normally. If prompted with Connection Successfully, you can click Create Datasource to complete the addition of the data source. Otherwise, please recheck the connection settings until the connection test is successful.
tipFor more detailed information on adding data sources, please refer to Create Data Sources.
Step Five: Configure Data Source Access Permissions
NineData supports the following three authorization methods. The permissions obtained through these three methods coexist in a complementary manner, with no priority. This section takes authorizing through roles as an example to introduce how to grant data source access permissions to organization members.
| Authorization Method | Authorization Initiator | Description |
|---|---|---|
| Apply through Work Order | Organization Member | Organization members apply for permissions through the Access Application function, suitable for scenarios where temporary business needs exist but there are no operational permissions. |
| Authorize through Roles | System Administrator | The system administrator binds roles with organization members to achieve simple and efficient group permission management. When a member leaves the project, simply unbind the role, eliminating future worries. |
| Direct Authorization by Administrator | System Administrator | The system administrator independently authorizes specific members, suitable for scenarios where permissions need to be customized according to specific needs, providing greater flexibility. |
Log in to the NineData Console.
In the left navigation bar, click Account**Role**.
tipIf you cannot find Account, please confirm that your console is in organization mode. How to switch from personal mode to organization mode, please refer to Switch to Organization.
Click Create Role in the lower left corner of the page.
In the Create Role dialog box, enter the name of the new role. This name is used to identify the role's purpose. Please use a meaningful name, supporting up to 16 characters.
Click OK to complete the creation of the new role. At this point, the page automatically jumps to the permission configuration page for the newly created role. Under the Datasource Permission tab, click Add Permission.

In the Add Permission window, select Environment or Datasource to authorize the new role, then click OK.
tip- Environment: Authorize based on the environment configured during Adding Data Sources. Please note that an environment may be bound to multiple data sources.
- Datasource: Directly select the corresponding data source for authorization.
Configure the permissions for each module of the data source according to actual needs, then click Save.

Click Add next to Members in the upper right corner of the page, then in the Add window, select one or more members who need to be bound to this role.

After clicking OK, the members who are bound to the current role will be displayed in the Members on the right. These members can already access the corresponding data sources.

Step Six: Manage Data with SQL Console
Log in to the NineData Console.
Click DevOps**SQL Console** in the left navigation bar.
tipIf you have previously logged in to the data source and have not closed it, you will automatically enter the data source page.
Click the text box under SQL Console, and the available data sources will pop up. Click the target data source and click Query to jump to the SQL Console.
tipIf there are multiple data sources, you can enter the full or partial keywords in the box for precise or fuzzy search. The following fields are supported for search:
Data source name
IP address

After opening the SQL Console, you can perform data management operations on the data source. As shown in the figure below:

For operations involving changes in the production environment, it is recommended to configure specifications and disable the change capability of the SQL Console. Instead, use the SQL task feature with standard pre-audit + approval process + data backup triple insurance to completely eliminate data security risks. For more information, please refer to Step Eight: Release Production Changes.
Step Seven: Release Production Changes
For data security reasons, it is recommended to use NineData's SQL development specifications and SQL tasks in combination to achieve the effect of releasing production changes through an approval process.
① Disable the SQL Console Change Capability for Production Databases
In the left navigation bar, click DevOps**Policy & Process**.
On the Policy & Process page, click the SQL Dev Policy tab, and then click the Name associated with the production data source.
The console jumps to the Details page, click the SQL Console tab, find the following two rules, and configure them according to the table below:
Rule Name Switch Edit Details Allowed SQL Console Update Data Type On Click Actions in the right column, find Allowed SQL Console Update Data, delete all operation types in the text box, and click OK. 
Allowed SQL Console Update Structure Operate Type On Click Actions in the right column, find SQL Console Allowed Type, delete all operation types in the text box, and click OK. 
Click back to the SQL Console by clicking DevOps**SQL Console** in the left navigation bar, and try to change the data. You will find that the change statement is intercepted and cannot be executed. You can only submit an SQL task to perform the change.

② Release Changes through SQL Tasks

In the left navigation bar, click DevOps**SQL Task**.
On the SQL Task page, click Create SQL Task in the upper right corner.
On the Create SQL Task page, configure the SQL task.
Parameter Description Name Enter the name of the SQL task. The name usually includes the purpose of the SQL statement execution. To reduce communication costs, please use a meaningful name. Up to 64 characters are supported. Datasource The data source where the target database for change is located. Database The database where the SQL change needs to be executed. Executor The person who executes the SQL statement after the current SQL task is approved.
Note: The options in the Executor list depend on the following two situations:- If the current data source is configured with development specifications: The options in the list are based on the SQL Task Executor Config rule configured in the current specification. This rule is located in the SQL Task & Console tab. How to configure development specifications, please refer to Edit Specifications.
- If the current data source is not configured with development specifications: The options in the list are users who have the SQL Task - Exec permission for the current data source. More information about authorization, please refer to Configure User Permissions.
Note (Optional) A description of any unresolved matters for the current SQL task, such as the reason for executing the task, the expected execution time, etc. Alter SQL Enter the SQL statement to be executed or upload a file containing the SQL statement. - SQL Text: Directly enter the SQL statement to be executed in the text box.
- SQL File: Click Upload File, select and upload a file containing the SQL statement to be executed.
Note: After uploading, move the mouse over the filename, and you can choose(Preview File) or
(Delete File) on the right side of the filename.
Rollback SQL (Optional) For enterprises that need to provide a rollback plan for changes, the rollback SQL entered here will be recorded in the current SQL task, but it will not have any impact during the entire lifecycle of the current SQL task, and is only used for compliance operations. Click Pre-Check, the system will check the SQL statement in advance to exclude situations that cannot be executed due to syntax errors, etc. If there is a problem with the SQL statement, prompts will appear below. Click View Details in the prompt to view the specific error information, which will help you locate and modify it.
After Pre-Check is passed, click Save and Pre-Check to enter the Policy Pre-check page.
tipThe system will pre-audit the SQL statement based on the SQL Development Specifications associated with the current data source, and there will be the following results:
- Pre-audit passed: Depending on the configuration of the approval process, the task status will change to Pending or Approved. If it is the former, please continue to the next step. If it is the latter, this process is over.
- Pre-audit not passed: The task status will change to Pre-Check Failed. You can click Check Again in the upper right corner of the page to pre-audit again, or you can withdraw the task and re-edit and submit it.
Click Submit Approval in the upper right corner of the page, and select the process approval personnel in the pop-up window, then click OK.
tipDepending on the different configurations of the approval process, the number of approval personnel required here is different. Please select according to the actual situation.
The task status changes to Pending Approval, waiting for approval to be passed, and the task can be executed by the designated Executor. Before the approval is passed, you can perform the following operations.
- Withdraw: Withdraw the SQL task.
- Transfer: Change the approver of the SQL task.
After the execution is completed, return to the SQL Console to verify whether the changes have been successfully released.
