Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfitzsimmons committed Aug 19, 2024
1 parent c697250 commit 2d87e1c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sphinx/misc/add_new_instance_to_specify_cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
1. Create Database
1. Review the SQL file before importing to the production server. Test the import locally before uploading to a production instance.
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.
2. Create the database:
```sql
mariadb -u<master> -p<master_password> -e "CREATE DATABASE <dbname>;"
```
3. Upload and restore the existing database:
```
mariadb -u<master> -p<master_password> <dbname> < <dbname>.sql
```
3. Create the database:
```sql
mariadb -u<master> -p<master_password> -e "CREATE DATABASE <dbname>;"
```
4. Upload and restore the existing database:
```
mariadb -u<master> -p<master_password> <dbname> < <dbname>.sql
```
4. **Note:** You may `GRANT ALL PRIVILEGES ON <dbname>.* TO <master_password>@'%';` if
master doesn't have access `FLUSH PRIVILEGES;`
2. DNS Registration:
Expand Down

0 comments on commit 2d87e1c

Please sign in to comment.