-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
-
MySQL Shell 8.0.26 - on Windows
-
MySQL Shell Dump & Load utilities
-
AWS account
-
AWS CLI v2 + JMESPath query language for JSON
On the AWS CLI I have set the default outputs as json however it is possible to specify the --output as table, text, yaml and yaml-stream.
-
Make sure
Local_infileconfiguration needs to be enabled.
To check the status of the Local_infile variable:
show variables like 'local_infile';SET PERSIST local_infile = 1;-
A common error message when loading databases to AWS RDS is:
|
|
Error processing schema •sakila• : You do not have the SUPER privilege and binary logging is enabled (you want to use the less safe variable) il.10adDump: You do not have the SUPER privilege and binary logging is enabled (you want to use t he less safe 10 variable) (MYSQLSH 1419) STUDENT > disconnect |
|
ℹ️
|
The error arises when we try to import functions or triggers. The error arises only if the
The above steps should only be done temporarily in order to import databases. Once the import is complete, we should replace the custom parameter-group my the default one. This will ensure that the AWS RDS instance remains secure.The above steps should only be done temporarily in order to import databases. Once the import is complete, we should replace the custom parameter-group my the default one. This will ensure that the AWS RDS instance remains secure. In this case I want to be able to import the Sakila database with all the store procedures, triggers and functions it has already done by me. |