mysqldump [SOURCE_DATABASE] | LANG=C sed -e 's|^/[*]!50001 CREATE ALGORITHM=UNDEFINED [*]/|/*!50001 CREATE */|' -e '/^[/][*]!50013 DEFINER=/d' | mysql [TARGET_DATABASE]All databases in a single Cloud Platform environment (glossary term, activate to view definition) share the same username and password, but each environment in a subscription (glossary term, activate to view definition) has its own username and password. For information about backing up databases in Cloud Platform and troubleshooting information about MySQL views, see Taking backups and MySQL views in Cloud Platform.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
mysqldump [SOURCE_DATABASE] | LANG=C sed -e 's|^/[*]!50001 CREATE ALGORITHM=UNDEFINED [*]/|/*!50001 CREATE */|' -e '/^[/][*]!50013 DEFINER=/d' | mysql [TARGET_DATABASE]All databases in a single Cloud Platform environment (glossary term, activate to view definition) share the same username and password, but each environment in a subscription (glossary term, activate to view definition) has its own username and password. For information about backing up databases in Cloud Platform and troubleshooting information about MySQL views, see Taking backups and MySQL views in Cloud Platform.
If this content did not answer your questions, try searching or contacting our support team for further assistance.