From fcb82bc71a0ab6d01cbb805cf6ea10be048a1d41 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 19 Aug 2024 15:29:39 +0000 Subject: [PATCH] Add changes for 2d87e1c8e913d91f432153e90f8a48b22c9c7d65 --- .../add_new_instance_to_specify_cloud.md.txt | 16 ++++++++-------- misc/add_new_instance_to_specify_cloud.html | 12 +++++------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/_sources/misc/add_new_instance_to_specify_cloud.md.txt b/_sources/misc/add_new_instance_to_specify_cloud.md.txt index 24987b7..11e8553 100644 --- a/_sources/misc/add_new_instance_to_specify_cloud.md.txt +++ b/_sources/misc/add_new_instance_to_specify_cloud.md.txt @@ -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 -p -e "CREATE DATABASE ;" - ``` - 3. Upload and restore the existing database: - ``` - mariadb -u -p < .sql - ``` + 3. Create the database: + ```sql + mariadb -u -p -e "CREATE DATABASE ;" + ``` + 4. Upload and restore the existing database: + ``` + mariadb -u -p < .sql + ``` 4. **Note:** You may `GRANT ALL PRIVILEGES ON .* TO @'%';` if master doesn't have access `FLUSH PRIVILEGES;` 2. DNS Registration: diff --git a/misc/add_new_instance_to_specify_cloud.html b/misc/add_new_instance_to_specify_cloud.html index d206201..0d00cab 100644 --- a/misc/add_new_instance_to_specify_cloud.html +++ b/misc/add_new_instance_to_specify_cloud.html @@ -131,21 +131,19 @@

Add new Specify instance to Specify Cloud

  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.

      3. -
      4. Create the database:

      5. -
      +
    1. Create the database:

      mariadb -u<master> -p<master_password> -e "CREATE DATABASE <dbname>;"
       
      -
        -
      1. Upload and restore the existing database:

      2. -
      +
    2. +
    3. Upload and restore the existing database:

      mariadb -u<master> -p<master_password> <dbname> < <dbname>.sql
       
      -
        +
      1. Note: You may GRANT ALL PRIVILEGES ON <dbname>.* TO <master_password>@'%'; if master doesn’t have access FLUSH PRIVILEGES;