Skip to content

Commit 2d87e1c

Browse files
Formatting
1 parent c697250 commit 2d87e1c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

sphinx/misc/add_new_instance_to_specify_cloud.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
1. Create Database
66
1. Review the SQL file before importing to the production server. Test the import locally before uploading to a production instance.
77
2. Ensure the new database has the same name as the subdomain the user wishes to use, remembering that underscores (`_`) are replaced with dashes (`-`) for the URL.
8-
2. Create the database:
9-
```sql
10-
mariadb -u<master> -p<master_password> -e "CREATE DATABASE <dbname>;"
11-
```
12-
3. Upload and restore the existing database:
13-
```
14-
mariadb -u<master> -p<master_password> <dbname> < <dbname>.sql
15-
```
8+
3. Create the database:
9+
```sql
10+
mariadb -u<master> -p<master_password> -e "CREATE DATABASE <dbname>;"
11+
```
12+
4. Upload and restore the existing database:
13+
```
14+
mariadb -u<master> -p<master_password> <dbname> < <dbname>.sql
15+
```
1616
4. **Note:** You may `GRANT ALL PRIVILEGES ON <dbname>.* TO <master_password>@'%';` if
1717
master doesn't have access `FLUSH PRIVILEGES;`
1818
2. DNS Registration:

0 commit comments

Comments
 (0)