mirror of
https://github.com/acepanel/acepanel.github.io.git
synced 2026-02-06 17:34:53 +08:00
feat: 格式化
This commit is contained in:
@@ -21,8 +21,8 @@ The list displays the following information:
|
||||
|
||||
1. Click the **Create Database** button
|
||||
2. Fill in the configuration:
|
||||
- **Server**: Select database server
|
||||
- **Database Name**: Can only use letters, numbers, and underscores
|
||||
- **Server**: Select database server
|
||||
- **Database Name**: Can only use letters, numbers, and underscores
|
||||
3. Choose whether to create a user and set permissions (optional)
|
||||
4. Click Create
|
||||
|
||||
|
||||
@@ -31,12 +31,12 @@ After installing database software, AcePanel will automatically add local server
|
||||
|
||||
1. Click the **Add Server** button
|
||||
2. Fill in the configuration:
|
||||
- **Type**: Select database type
|
||||
- **Name**: Server name (for identification)
|
||||
- **Host**: Server address
|
||||
- **Port**: Database port
|
||||
- **Username**: Administrator username
|
||||
- **Password**: Administrator password
|
||||
- **Type**: Select database type
|
||||
- **Name**: Server name (for identification)
|
||||
- **Host**: Server address
|
||||
- **Port**: Database port
|
||||
- **Username**: Administrator username
|
||||
- **Password**: Administrator password
|
||||
3. Click Add
|
||||
|
||||
### Remote Server Use Cases
|
||||
@@ -80,7 +80,7 @@ After adding or modifying a server, the system will automatically test the conne
|
||||
|
||||
## Default Ports
|
||||
|
||||
| Database | Default Port |
|
||||
|-------------------------|--------------|
|
||||
| Percona/MySQL/MariaDB | 3306 |
|
||||
| PostgreSQL | 5432 |
|
||||
| Database | Default Port |
|
||||
|-----------------------|--------------|
|
||||
| Percona/MySQL/MariaDB | 3306 |
|
||||
| PostgreSQL | 5432 |
|
||||
|
||||
@@ -25,21 +25,21 @@ The list displays the following information:
|
||||
|
||||
1. Click the **Create User** button
|
||||
2. Fill in the configuration:
|
||||
- **Server**: Select database server
|
||||
- **Username**: Database username
|
||||
- **Password**: User password (strong password recommended)
|
||||
- **Host**: Allowed connection host address
|
||||
- **Permissions**: Select databases the user can access
|
||||
- **Server**: Select database server
|
||||
- **Username**: Database username
|
||||
- **Password**: User password (strong password recommended)
|
||||
- **Host**: Allowed connection host address
|
||||
- **Permissions**: Select databases the user can access
|
||||
3. Click Create
|
||||
|
||||
### Host Settings
|
||||
|
||||
| Value | Description |
|
||||
|-------|-------------|
|
||||
| `localhost` | Only allow local connections |
|
||||
| `127.0.0.1` | Only allow local IP connections |
|
||||
| `%` | Allow connections from any host |
|
||||
| `192.168.1.%` | Allow connections from specified subnet |
|
||||
| Value | Description |
|
||||
|-----------------|------------------------------------------|
|
||||
| `localhost` | Only allow local connections |
|
||||
| `127.0.0.1` | Only allow local IP connections |
|
||||
| `%` | Allow connections from any host |
|
||||
| `192.168.1.%` | Allow connections from specified subnet |
|
||||
| `192.168.1.100` | Only allow connections from specified IP |
|
||||
|
||||
::: warning Security Notice
|
||||
|
||||
Reference in New Issue
Block a user