We had started with the "demo" db that is MySQL 8 in the values.yaml and are now trying to move to an external MySQL 8 DB hosted in Azure. We made sure to use all the appropriate server configurations.
We are facing issues on completing the import for both ssg and otk_db.
---
ERROR 1227 (42000) at line 14: Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation
----
mysqldump -u root -p --verbose --routines --triggers --single-transaction --column-statistics=0 --databases ssg otk_db > /tmp/mysqldump--devcopy-8-25.sql
mysql -u <user> -p --port=3306 -hazurehost.mysql.database.azure.com --verbose < /tmp/mysqldump--devcopy-8-25.sql
---
What is the correct mysqldump command? This is the dump command used when externalizing our Container API Portal and did not find anything online in terms of the correct way to use mysqlpdump for container gateways.
API Container Gateway 10.1 on AKS
CREATE DEFINER
commands manually or by using the --skip-definer
command when performing a mysqlpump.mysqlpump-u root -p --routines --triggers --single-transaction--column-statistics=0 --skip-definer --databases ssg otk_db >/tmp/mysqlpump--devcopy-8-25.sql
mysql-u <user> -p --port=3306 -hazurehost.mysql.database.azure.com --verbose </tmp/mysqlpump--devcopy-8-25.sql