Loopskey-logo
CourseTechnology

Migrating MySQL User Data When Running Database Migration Service Jobs

By External Provider

Price

Free

Go to content

Opens coursera.org in a new tab

Level

ADVANCED

Duration

1 h 30 min

About this course

This is a self-paced lab that takes place in the Google Cloud console. In this lab, you learn how to migrate MySQL user data when running Database Migration Service jobs. First, you identify the existing MySQL users and update DEFINER to INVOKER for database objects on the source instance. Next, you create and save a Database Migration Service job. Then, before running the migration job, you create the necessary users on the destination database instance. Finally, you start the saved migration job; after the job runs successfully, you check the migrated data in the Cloud SQL for MySQL instance.

What you will learn

  • Identify existing MySQL users on the source instance. Update DEFINER clauses to INVOKER on the MySQL source instance.
  • Create and save a Database Migration Service job without starting the job.
  • Create users on the Cloud SQL destination instance. Start a previously created Database Migration Service job.
  • Check user metadata in the Cloud SQL destination instance.