Skip to content

Renamed md files and cleaned up config #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Oracle Database@Azure brings Oracle's best databases - Exadata and Autonomous Da
* Deploy a new Oracle Autonomous Database
* [Using the Azure Portal](https://youtu.be/QOCvRr5CfeQ)
* [Using Terraform scripts](https://github.com/oci-landing-zones/terraform-oci-multicloud-azure/tree/main)
* [Using the Azure CLI](azure-cli/create-adb.md)
* [Using the Azure CLI](azure-cli/README.md)
* Connect to your Autonomous Database
* [Learn about connectivity options](https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/connect-preparing.html)
* Use these great VS Code extensions that help you develop and debug your database apps
* SQL Developer for VS Code ([Learn More](https://www.oracle.com/database/sqldeveloper/vscode/) | [Marketplace](https://marketplace.visualstudio.com/items?itemName=Oracle.sql-developer))
* Oracle Developer Tools for VS Code ([Learn More](https://docs.oracle.com/en/database/oracle/developer-tools-for-vscode/getting-started/gettingstarted.html) | [Marketplace](https://marketplace.visualstudio.com/items?itemName=Oracle.oracledevtools))
* [Sample SQL code](./sql/sql-scripts.md)
* [Sample SQL code](./sql/README.md)
* Create a database user and add sample data
* Work with data in Azure Storage
* Get started with Select AI
Expand Down
File renamed without changes.
6 changes: 2 additions & 4 deletions azure-cli/config
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ ADB_NAME="quickstart"
## NETWORKING
# database
VNET_NAME="dev-vnet"
#VNET_PREFIX="192.168.0.0/16"
VNET_PREFIX="19x.xxx.0.0/16"
# subnet for the database
SUBNET_NAME="dev-sn-db"
#SUBNET_PREFIX="192.168.1.0/24"
SUBNET_PREFIX="19x.xxx.1.0/24"

# client subnet
SUBNET2_NAME="dev-sn-client"
#SUBNET2_PREFIX="192.168.2.0/24"
SUBNET2_PREFIX="19x.xxx.2.0/24"

#network security group
Expand All @@ -37,4 +34,5 @@ STORAGE_CONTAINER_NAME="adb-sample"
## IDENTITIES
# This identity will be used for your VM. The password will also be used for the database ADMIN user
USER_NAME="adb"
USER_PASSWORD="your-complex-password"
# The password must be between 12 and 30 characters long and must include at least one uppercase letter, one lowercase letter, and one numeric character.
USER_PASSWORD=""
52 changes: 0 additions & 52 deletions azure-cli/deploy-adb.md

This file was deleted.

6 changes: 3 additions & 3 deletions sql/sql-scripts.md → sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
Numerous SQL scripts are available to help you get started using Autonomous Database on Oracle Database@Azure

Prerequisites:
* [Create an Autonomous Database](../azure-cli/create-adb.md)
* [Create an Autonomous Database](../azure-cli/README.md)
* A VM deployed on the same VCN as Autonomous Database (or on a network that can access your Autonomous Database)
* Use these great VS Code extensions that help you develop and debug your database apps:
* SQL Developer for VS Code ([Learn More](https://www.oracle.com/database/sqldeveloper/vscode/) | [Marketplace](https://marketplace.visualstudio.com/items?itemName=Oracle.sql-developer))
* Oracle Developer Tools for VS Code ([Learn More](https://docs.oracle.com/en/database/oracle/developer-tools-for-vscode/getting-started/gettingstarted.html) | [Marketplace](https://marketplace.visualstudio.com/items?itemName=Oracle.oracledevtools))

## Connect to Autonomous Database
There are [numerous client tools](../azure-cli/create-adb.md#whats-next) that you can use to start working with Autonomous Database. This includes the built-in SQL Worksheet that's part of the Database Tools (and available from the linked OCI Console) or a tool like VS Code and one an Oracle Database extension.
There are [numerous client tools](../azure-cli/README.md#whats-next) that you can use to start working with Autonomous Database. This includes the built-in SQL Worksheet that's part of the Database Tools (and available from the linked OCI Console) or a tool like VS Code and one an Oracle Database extension.

## Sample scripts
Try out these scripts to learn how to get started using Autonomous Database. Simply update the [`config.sql`](#configuration-file) script prior to running the samples:
Expand Down Expand Up @@ -37,7 +37,7 @@ chmod 600 config.sql

|Setting|Description|Example|
|----|----|----|
|CONN|JDBC Connection. [Go here](../azure-cli/create-adb.md#jdbc-example) to see how to get the connection details.|jdbc:oracle:thin:@(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=your-host.oraclecloud.com))(connect_data=(service_name=my_quickstart_medium.adb.oraclecloud.com))(security=(ssl_server_dn_match=no)))
|CONN|JDBC Connection. [Go here](../azure-cli/README.md#jdbc-example) to see how to get the connection details.|jdbc:oracle:thin:@(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=your-host.oraclecloud.com))(connect_data=(service_name=my_quickstart_medium.adb.oraclecloud.com))(security=(ssl_server_dn_match=no)))
|USER_NAME|Database user that will contain sample data|'moviestream'|
|USER_PASSWORD|Password for the sample database user|'watchS0meMovies#'
|**Select AI and GenAI**|
Expand Down
4 changes: 3 additions & 1 deletion sql/config.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
define CONN='your-database-connection-string'
-- the database user that will own the sample schema
define USER_NAME='moviestream'
define USER_PASSWORD='your-strong-password'
-- Password for the database user
-- The password must be between 12 and 30 characters long and must include at least one uppercase letter, one lowercase letter, and one numeric character.
define USER_PASSWORD=''
--
-- GENAI
--
Expand Down