In this example:
- MySQL standalone server is deployed
Tasks:
- Adjust username
laurivosandi
as necessary for your deployment - Provision MySQL root password secret either manually,
with
kubectl create secret generic -n sandbox-name-goes-here mysql-standalone-secrets --from-literal=rootPassword=$(cat /dev/urandom | base64 | head -c 30)
- Using kubectl forward the router instance port to your local laptop and attempt to connect using MySQL command line utilities
- Attempt to load
employees.sql
from https://github.com/datacharmer/test_db using the forwarded port or using a Job - Verify using included phpMyAdmin that the content got loaded into MySQL server