-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LWMS ID: 11389 - Quarterly QA update (#739)
* LWMS ID: 11389 - Quarterly QA update Updated All old images Updated Lab 1 MySQL Section Updated Lab 2 Compute Section Updated Lab 3 Upload data to Object Storage Updated Lab 8 Changed to use PHP 8.2 * LWMS ID: 11389 added latest version of the index.html file LWMS ID: 11389 added latest version of the index.html file * LWMS ID: 11389 Updated with @carmenberdant1 requested changes on this pull request. Lab 1 - task 2, step 2 the original compartment is showing instead of the one in the example. Same for the Lab 1 - Task 5 step 2 Lab 3 - Task 2 - step 6 needs to have all the places where the root and compartment shows, blurred. Lab 4 - Task 1 step 4 point b) there is a typo for the word command Lab 4 - Task 2 step 3 - the original compartment is showing
- Loading branch information
Showing
52 changed files
with
163 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-40.2 KB
(47%)
heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-oracle-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+25.7 KB
...ave-lakehouse/create-compute-with-mysqlsh/images/compute-placement-security.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-163 Bytes
(100%)
heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-running.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-513 Bytes
(94%)
heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-backup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.28 KB
(110%)
heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configuration-version.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.9 KB
heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configure-hardware-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.59 KB
(96%)
heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configure-hardware.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-39.9 KB
(7.9%)
heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+5.86 KB
(130%)
heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-select-option.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5.2 KB
(99%)
heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.46 KB
(110%)
heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-data-import.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-40.5 KB
(22%)
...ave-lakehouse/create-heatwave-vcn-db/images/mysql-heatwave-system-selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+11.3 KB
(100%)
heatwave-lakehouse/create-heatwave-vcn-db/images/networking-main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+86.1 KB
(120%)
heatwave-lakehouse/create-heatwave-vcn-db/images/vcn-wizard-start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-2.13 KB
(99%)
...ave-lakehouse/create-lakehouse-files/images/create-lakehous-bucket-par-load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+39.1 KB
heatwave-lakehouse/setup-db-data/images/heatwave-cluster-estimate-node.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+93.1 KB
heatwave-lakehouse/setup-db-data/images/heatwave-cluster-generate-estimate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+279 KB
heatwave-lakehouse/setup-db-data/images/heatwave-cluster-lakehouse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+133 KB
heatwave-lakehouse/setup-db-data/images/mysql-customer-order-explain.png
Oops, something went wrong.
Binary file added
BIN
+109 KB
heatwave-lakehouse/setup-db-data/images/mysql-customer-order-nocluster.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+39.2 KB
heatwave-lakehouse/setup-db-data/images/mysql-customer-orders-list.png
Oops, something went wrong.
Binary file added
BIN
+230 KB
heatwave-lakehouse/setup-db-data/images/mysql-heat-cluster-complete.png
Oops, something went wrong.
Binary file added
BIN
+52.4 KB
heatwave-lakehouse/setup-db-data/images/mysql-heat-cluster-estimate.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# Setup HeatWave with mysql\_customer\_orders Data | ||
|
||
## Introduction | ||
|
||
We will be using the mysql\_customer\_orders Data for this wprkshop | ||
|
||
_Estimated Time:_ 10 minutes | ||
|
||
### Objectives | ||
|
||
In this lab, you will be guided through the following task: | ||
|
||
- Connect to database using MySQL Shell | ||
- Add the mysql\_customer\_orders Datato HeatWave if it is not already there | ||
|
||
### Prerequisites | ||
|
||
- An Oracle Trial or Paid Cloud Account | ||
- Some Experience with MySQL Shell | ||
- Completed Lab 2 | ||
|
||
## Task 1: Connect to database using MySQL Shell | ||
|
||
1. If not already connected with SSH, on Command Line, connect to the Compute instance using SSH ... be sure replace the "private key file" and the "new compute instance ip" | ||
|
||
```bash | ||
<copy>ssh -i private_key_file opc@new_compute_instance_ip</copy> | ||
``` | ||
|
||
2. Use the following command to connect to MySQL using the MySQL Shell client tool. Be sure to add the **heatwave-db** private IP address at the end of the command. Also enter the admin user and the db password created on Lab 1 | ||
|
||
(Example **mysqlsh -uadmin -p -h10.0.1.. --sql**) | ||
|
||
**[opc@...]$** | ||
|
||
```bash | ||
<copy>mysqlsh -uadmin -p -h 10.0.1.... --sql</copy> | ||
``` | ||
|
||
![MySQL Shell connected DB](./images/connect-myslqsh.png "connect myslqsh") | ||
|
||
3. List schemas in your heatwave instance | ||
|
||
```bash | ||
<copy>show databases;</copy> | ||
``` | ||
|
||
![Database Schema List](./images/list-schemas-after.png "list schemas first view") | ||
|
||
4. if you do not see the **mysql\_customer\_orders** schema on the list, then load it using the following commands: | ||
- a. change to JS | ||
|
||
```bash | ||
<copy>\js</copy> | ||
``` | ||
|
||
- b. Run load command | ||
|
||
```bash | ||
<copy>util.loadDump("https://objectstorage.us-ashburn-1.oraclecloud.com/p/e9-qd9eqC2gatEl4qqsRD4L_mqn433tr00ALKmYzh8AuTQ-drS1thJvgLoz64-vF/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_11272024/", {progressFile: "progress.json", loadIndexes:false,ignoreVersion:true})</copy> | ||
``` | ||
|
||
**Note**: If you get errors like the one below, the **mysql\_customer\_orders** schema already exists. You used the correct PAR Link to load the data during the creation process in Lab1. Don't worry; everything is okay. | ||
*ERROR: Schema `mysql_customer_orders` already contains a table named customers* | ||
- c. Change to SQL mode | ||
```bash | ||
<copy>\sql</copy> | ||
``` | ||
- d. Make sure the **mysql\_customer\_orders** schema was loaded | ||
```bash | ||
<copy>show databases;</copy> | ||
``` | ||
![Database Schema List](./images/list-schemas-after.png "list schemas second view") | ||
5. View the mysql\_customer\_orders total records per table in | ||
```bash | ||
<copy>SELECT table_name, table_rows FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'mysql_customer_orders';</copy> | ||
``` | ||
![Databse Tables](./images/mysql-customer-orders-list.png "mysql customer orders list") | ||
## Task 2: Review the HeatWave Cluster Setup | ||
1. Go to Navigation Menu | ||
Databases | ||
MySQL | ||
2. Click the `heatwave-db` Database System link | ||
![Database List](./images/db-list.png "Database List") | ||
3. In the list of DB Systems, click the **heatwave-db** system. On the **HeatWave Cluster** Section, click on Details | ||
![Databse Cluster Detail](./images/mysql-heatwave-more.png "mysql heatwave cluster") | ||
4. The HeatWave Cluster Information section will look like this: | ||
![Completed Cluster Creation](./images/mysql-heat-cluster-complete.png "mysql heat cluster complete ") | ||
You may now **proceed to the next lab** | ||
## Acknowledgements | ||
- **Author** - Perside Foster, MySQL Solution Engineering | ||
- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager | ||
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.