Home
%3CLINGO-SUB%20id%3D%22lingo-sub-847871%22%20slang%3D%22en-US%22%3EDesign%20your%20Data%20pipelines%20in%20Azure%20Data%20Factory%20to%20load%20data%20into%20Azure%20Database%20for%20MySQL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-847871%22%20slang%3D%22en-US%22%3E%3CP%3EOne%20of%20the%20core%20value%20propositions%20for%20running%20your%20MySQL%20databases%20in%20a%20fully%20managed%20service%20like%20Azure%20Database%20for%20MySQL%20is%20richer%20native%20integrations%20with%20Azure%20services%20in%20the%20cloud%20ecosystem.%20Today%2C%20we%20are%20happy%20to%20announce%20that%20Azure%20Database%20for%20MySQL%20is%20now%20a%20supported%20sink%20destination%20in%20Azure%20Data%20Factory.%20Azure%20Data%20Factory%20is%20a%20fully%20managed%20data%20integration%20service%20that%20allows%20you%20to%20create%20data-driven%20workflows%20in%20a%20code%20free%20visual%20environment%20in%20Azure%20for%20orchestrating%20and%20automating%20data%20movement%20and%20data%20transformation.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20Data%20Factory%20supports%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fcopy-activity-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E80%2B%20data%20sources%3C%2FA%3Ecollectively%20across%20Azure%2C%20on-premises%2C%20multi-cloud%20and%20SaaS%20platforms%20orchestrating%20secure%20data%20transfer.%20Azure%20Database%20for%20MySQL%20which%20is%20running%20the%20community%20edition%20of%20open%20source%20MySQL%20is%20a%20preferred%20relational%20data%20store%20for%20customers%20looking%20for%20reliable%2C%20low%20cost%20and%20secure%20open%20data%20platform.%20Azure%20Database%20for%20MySQL%20as%20a%20supported%20target%20destination%20for%20data%20movement%20is%20of%20one%20of%20the%20top%20requested%20features%20from%20customers.%20The%20native%20integration%20of%20Azure%20Data%20Factory%20with%20Azure%20Database%20for%20MySQL%20unlocks%20many%20possible%20hybrid%20scenarios%20and%20multi-cloud%20architectures.%20You%20can%20now%20leverage%20Azure%20Data%20factory%20for%20secure%20one-time%20data%20movement%20or%20running%20continuous%20data%20pipelines%20which%20loads%20data%20into%20Azure%20Database%20for%20MySQL%20from%20disparate%20data%20sources%20running%20on-premises%2C%20in%20Azure%2C%20SaaS%20platforms%20or%20other%20cloud%20providers%20for%20analytics%20and%20reporting.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20648px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131051i5A7FCDB0A13CC0A7%2Fimage-dimensions%2F648x368%3Fv%3D1.0%22%20width%3D%22648%22%20height%3D%22368%22%20alt%3D%22clipboard_image_6.png%22%20title%3D%22clipboard_image_6.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECopy%20Data%20into%20Azure%20Database%20for%20MySQL%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EIn%20Azure%20Data%20Factory%2C%20you%20can%20use%20the%20Copy%20activity%20to%20copy%20data%20among%20data%20stores%20located%20on-premises%20and%20in%20the%20cloud.%20After%20you%20copy%20the%20data%2C%20you%20can%20use%20other%20activities%20to%20further%20transform%20and%20analyze%20it%20as%20described%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fcopy-activity-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20If%20you%20want%20to%20copy%20the%20data%20from%20file%20system%20or%20cloud-based%20object%20stores%2C%20the%20copy%20activity%20can%20also%20read%20from%20files%20in%20these%20formats%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EText%3C%2FLI%3E%0A%3CLI%3EJSON%3C%2FLI%3E%0A%3CLI%3EAvro%3C%2FLI%3E%0A%3CLI%3EORC%3C%2FLI%3E%0A%3CLI%3EParquet%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EFor%20up-to-date%20information%20on%20the%20supported%20data%20sources%20and%20file%20formats%2C%20please%20refer%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fcopy-activity-overview%23supported-data-stores-and-formats%23supported-data-stores-and-formats%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAt%20a%20high%20level%2C%20to%20use%20the%20Copy%20activity%20in%20Azure%20Data%20Factory%2C%20you%20need%20to%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSTRONG%3ECreate%20linked%20services%20for%20the%20source%20data%20store%20and%20the%20sink%20data%20store.%20%3C%2FSTRONG%3ELinked%20services%20are%20much%20like%20connection%20strings%2C%20which%20define%20the%20connection%20information%20that's%20needed%20for%20Azure%20Data%20Factory%20to%20connect%20to%20external%20resources.%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ECreate%20datasets%20for%20the%20source%20and%20sink.%20%3C%2FSTRONG%3EDatasets%20define%20the%20schema%2C%20table%20name%2C%20or%20filename%20in%20linked%20services%20created%20in%20previous%20step%2C%20where%20the%20data%20can%20be%20sourced%20or%20targeted%20for%20copy%20activity.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ECreate%20a%20pipeline%20with%20the%20Copy%20activity%3C%2FSTRONG%3E.%20In%20the%20step%20you%20map%20the%20source%2C%20sink%20datasets%20created%20in%20previous%20step%20and%20do%20the%20column%20mapping%20to%20ensure%20there%20are%20no%20data%20conversion%20errors.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EFor%20latest%20up%20to%20date%20information%20on%20the%20Copy%20activity%2C%20please%20refer%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fcopy-activity-overview%23configuration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20author%20and%20run%20a%20copy%20activity%20data%20pipeline%20in%20Azure%20Data%20Factory%20using%20the%20following%20toolchains%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Portal%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-copy-data-tool%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECopy%20Data%20Tool%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20PowerShell%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-dot-net%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E.Net%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-python%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPython%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-rest-api%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EREST%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-resource-manager-template%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Resource%20Manager%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20blog%20post%2C%20we%20will%20walk%20through%20the%20Azure%20portal%20UI%20experience.%20Once%20you%20create%20the%20Azure%20Data%20Factory%20service%20via%20the%20portal%20using%20the%20steps%20mentioned%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EQuickStart%20documentation%3C%2FA%3E%2C%20you%20will%20see%20the%20%E2%80%9CLet%E2%80%99s%20get%20started%E2%80%9D%20page%20as%20shown%20below.%20On%20the%26nbsp%3B%3CSTRONG%3ELet's%20get%20started%3C%2FSTRONG%3E%26nbsp%3Bpage%2C%20switch%20to%20the%26nbsp%3B%3CSTRONG%3EAuthor%3C%2FSTRONG%3E%26nbsp%3Btab%20in%20the%20left%20panel.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20576px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131052i5991606A7E108F70%2Fimage-dimensions%2F576x252%3Fv%3D1.0%22%20width%3D%22576%22%20height%3D%22252%22%20alt%3D%22clipboard_image_7.png%22%20title%3D%22clipboard_image_7.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECreate%20Linked%20Services%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAfter%20clicking%20on%20the%20Author%20tab%2C%20you%20create%20the%20Linked%20Service%20by%20clicking%20on%20Connections%20and%20select%20the%20New%20button%20on%20the%20toolbar%20as%20mentioned%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-portal%23create-a-linked-service%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3Eand%20shown%20below.%26nbsp%3B%20For%20Azure%20Database%20for%20MySQL%20service%2C%20you%20need%20to%20provide%20the%20server%20name%2C%20port%2C%20database%20name%2C%20username%20and%20password%20for%20user%20with%20permissions%20to%20connect%20to%20the%20Azure%20Database%20for%20MySQL%20server%20and%20perform%20schema%20discovery%2C%20read%20and%20write%20data%20to%20the%20table.%20In%20this%20step%2C%20you%20will%20define%20the%20connections%20for%20source%20and%20target%20linked%20services.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20714px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131050i6689C6C2BE920472%2Fimage-dimensions%2F714x403%3Fv%3D1.0%22%20width%3D%22714%22%20height%3D%22403%22%20alt%3D%22clipboard_image_8.png%22%20title%3D%22clipboard_image_8.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECreate%20Datasets%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EIn%20this%20procedure%2C%20you%20create%20two%20datasets%20for%20source%20and%20target%20by%20clicking%20on%20the%20%E2%80%98%2B%E2%80%99%20(plus)%20sign%20and%20selecting%20Datasets%20as%20per%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-portal%23create-datasets%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E.%20Under%20Connections%20tab%2C%20you%20map%20it%20to%20the%20Azure%20Database%20for%20MySQL%20Linked%20Service%20defined%20in%20previous%20step%20by%20selecting%20it%20from%20the%20dropdown.%20Next%2C%20you%20identify%20the%20destination%20table%20to%20load%20data%20in%20Azure%20Database%20for%20MySQL%20server%20as%20shown%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20728px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131053iAE32D9E5FF2CE672%2Fimage-dimensions%2F728x354%3Fv%3D1.0%22%20width%3D%22728%22%20height%3D%22354%22%20alt%3D%22clipboard_image_9.png%22%20title%3D%22clipboard_image_9.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECreate%20a%20Pipeline%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EIn%20this%20step%2C%20you%20create%20a%20pipeline%20for%20data%20movement%20and%20transformation%20by%20clicking%20on%20%E2%80%98%2B%E2%80%99%20(plus)%20sign%20and%20selecting%20Pipeline%20as%20per%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-portal%23create-a-pipeline%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E.%20In%20the%20pipeline%2C%20map%20the%20source%20datasets%20and%20the%20sink%20datasets%20created%20in%20the%20previous%20step%20and%20perform%20column%20mapping%20to%20ensure%20there%20are%20no%20data%20conversion%20errors%20moving%20from%20source%20to%20target%20as%20shown%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20739px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131055iABDE30DDD363E078%2Fimage-dimensions%2F739x366%3Fv%3D1.0%22%20width%3D%22739%22%20height%3D%22366%22%20alt%3D%22clipboard_image_10.png%22%20title%3D%22clipboard_image_10.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFinally%2C%20once%20the%20pipeline%20is%20defined%20and%20created%2C%20click%20%3CSTRONG%3EValidate%20%3C%2FSTRONG%3Eon%20the%20toolbar%20above%20the%20canvas%20to%20validate%20pipeline%20settings.%20Confirm%20that%20the%20pipeline%20has%20been%20successfully%20validated.%20To%20close%20the%20validation%20output%2C%20select%20the%26nbsp%3B%3CSTRONG%3E%26gt%3B%26gt%3B%3C%2FSTRONG%3E%26nbsp%3B(right%20arrow)%20button.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EDebug%20and%20Run%20the%20Pipeline%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAfter%20validation%2C%20on%20the%20pipeline%20toolbar%20above%20the%20canvas%2C%20click%26nbsp%3B%3CSTRONG%3EDebug%3C%2FSTRONG%3E%26nbsp%3Bto%20trigger%20a%20test%20run.%20You%20can%20see%20the%20status%20of%20the%20pipeline%20run%20on%20the%26nbsp%3B%3CSTRONG%3EOutput%3C%2FSTRONG%3E%26nbsp%3Btab%20of%20the%20pipeline%20settings%20at%20the%20bottom.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20data%20pipeline%20run%20is%20successful%2C%20you%20can%20deploy%20the%20pipeline%20and%20trigger%20the%20run%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-portal%23trigger-the-pipeline-manually%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Emanually%3C%2FA%3Eor%20on%20a%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-portal%23trigger-the-pipeline-on-a-schedule%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eschedule%3C%2FA%3E.%20To%20monitor%20the%20pipeline%20runs%2C%20you%20can%20switch%20to%20Monitor%20tab%20on%20the%20left%20and%20use%20the%20%3CSTRONG%3ERefresh%20%3C%2FSTRONG%3Ebutton%20to%20refresh%20the%20list%20as%20shown%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20721px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131054i7B2D26AAE511D15C%2Fimage-dimensions%2F721x189%3Fv%3D1.0%22%20width%3D%22721%22%20height%3D%22189%22%20alt%3D%22clipboard_image_11.png%22%20title%3D%22clipboard_image_11.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGetting%20Started%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EWe%20encourage%20you%20to%20get%20started%20by%20creating%20a%20Data%20pipeline%20using%20one%20of%20the%20preferred%20toolchains%20bringing%20data%20from%20disparate%20data%20sources%20into%20Azure%20Database%20for%20MySQL%20as%20a%20destination%20target.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fconnector-azure-database-for-mysql%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECopy%20Data%20to%20and%20from%20Azure%20Database%20for%20MySQL%20using%20Azure%20Data%20Factory%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EData%20Factory%20UI%20in%20the%20Azure%20portal%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-copy-data-tool%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECopy%20Data%20tool%20in%20the%20Azure%20portal%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPowerShell%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-dot-net%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E.NET%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-python%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPython%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-rest-api%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EREST%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fquickstart-create-data-factory-resource-manager-template%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Resource%20Manager%20template%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20any%20questions%20or%20feedback%20around%20Azure%20Database%20for%20MySQL%20service%2C%20please%20reach%20out%20to%20us%26nbsp%3B%3CA%20href%3D%22mailto%3AAskAzureDBforMySQL%40service.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAskAzureDBforMySQL%40service.microsoft.com%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EParikshit%20Savjani%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EPrincipal%20Program%20Manager%2C%20Microsoft%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-847871%22%20slang%3D%22en-US%22%3E%3CP%3EOne%20of%20the%20core%20value%20propositions%20for%20running%20your%20MySQL%20databases%20in%20a%20fully%20managed%20service%20like%20Azure%20Database%20for%20MySQL%20is%20richer%20native%20integrations%20with%20Azure%20services%20in%20the%20cloud%20ecosystem.%20Today%2C%20we%20are%20happy%20to%20announce%20that%20Azure%20Database%20for%20MySQL%20is%20now%20a%20supported%20sink%20destination%20in%20Azure%20Data%20Factory.%20For%20customers%2C%20native%20integration%20of%20Azure%20Data%20Factory%20with%20Azure%20Database%20for%20MySQL%20unlocks%20many%20possible%20hybrid%20scenarios%20and%20multi-cloud%20architectures.%20You%20can%20now%20leverage%20Azure%20Data%20factory%20for%20secure%20one-time%20data%20movement%20or%20running%20continuous%20data%20pipelines%20which%20loads%20data%20into%20Azure%20Database%20for%20MySQL%20from%20disparate%20data%20sources%20running%20on-premises%2C%20in%20Azure%20or%20other%20cloud%20providers%20for%20analytics%20and%20reporting.%3C%2FP%3E%3C%2FLINGO-TEASER%3E

One of the core value propositions for running your MySQL databases in a fully managed service like Azure Database for MySQL is richer native integrations with Azure services in the cloud ecosystem. Today, we are happy to announce that Azure Database for MySQL is now a supported sink destination in Azure Data Factory. Azure Data Factory is a fully managed data integration service that allows you to create data-driven workflows in a code free visual environment in Azure for orchestrating and automating data movement and data transformation.

 

Azure Data Factory supports 80+ data sources collectively across Azure, on-premises, multi-cloud and SaaS platforms orchestrating secure data transfer. Azure Database for MySQL which is running the community edition of open source MySQL is a preferred relational data store for customers looking for reliable, low cost and secure open data platform. Azure Database for MySQL as a supported target destination for data movement is of one of the top requested features from customers. The native integration of Azure Data Factory with Azure Database for MySQL unlocks many possible hybrid scenarios and multi-cloud architectures. You can now leverage Azure Data factory for secure one-time data movement or running continuous data pipelines which loads data into Azure Database for MySQL from disparate data sources running on-premises, in Azure, SaaS platforms or other cloud providers for analytics and reporting.

 

clipboard_image_6.png

 

Copy Data into Azure Database for MySQL

In Azure Data Factory, you can use the Copy activity to copy data among data stores located on-premises and in the cloud. After you copy the data, you can use other activities to further transform and analyze it as described here. If you want to copy the data from file system or cloud-based object stores, the copy activity can also read from files in these formats:

  • Text
  • JSON
  • Avro
  • ORC
  • Parquet

For up-to-date information on the supported data sources and file formats, please refer to the documentation.

 

At a high level, to use the Copy activity in Azure Data Factory, you need to:

  1. Create linked services for the source data store and the sink data store. Linked services are much like connection strings, which define the connection information that's needed for Azure Data Factory to connect to external resources. 
  2. Create datasets for the source and sink. Datasets define the schema, table name, or filename in linked services created in previous step, where the data can be sourced or targeted for copy activity.
  3. Create a pipeline with the Copy activity. In the step you map the source, sink datasets created in previous step and do the column mapping to ensure there are no data conversion errors.

For latest up to date information on the Copy activity, please refer to the documentation.

 

You can author and run a copy activity data pipeline in Azure Data Factory using the following toolchains

 

 

In this blog post, we will walk through the Azure portal UI experience. Once you create the Azure Data Factory service via the portal using the steps mentioned in the QuickStart documentation, you will see the “Let’s get started” page as shown below. On the Let's get started page, switch to the Author tab in the left panel.

 

clipboard_image_7.png

 

Create Linked Services

After clicking on the Author tab, you create the Linked Service by clicking on Connections and select the New button on the toolbar as mentioned in the documentation and shown below.  For Azure Database for MySQL service, you need to provide the server name, port, database name, username and password for user with permissions to connect to the Azure Database for MySQL server and perform schema discovery, read and write data to the table. In this step, you will define the connections for source and target linked services.

 

clipboard_image_8.png

 

Create Datasets

In this procedure, you create two datasets for source and target by clicking on the ‘+’ (plus) sign and selecting Datasets as per the documentation. Under Connections tab, you map it to the Azure Database for MySQL Linked Service defined in previous step by selecting it from the dropdown. Next, you identify the destination table to load data in Azure Database for MySQL server as shown below.

 

 

clipboard_image_9.png

 

 

Create a Pipeline

In this step, you create a pipeline for data movement and transformation by clicking on ‘+’ (plus) sign and selecting Pipeline as per the documentation. In the pipeline, map the source datasets and the sink datasets created in the previous step and perform column mapping to ensure there are no data conversion errors moving from source to target as shown below.

 

clipboard_image_10.png

 

Finally, once the pipeline is defined and created, click Validate on the toolbar above the canvas to validate pipeline settings. Confirm that the pipeline has been successfully validated. To close the validation output, select the >> (right arrow) button.

 

Debug and Run the Pipeline

After validation, on the pipeline toolbar above the canvas, click Debug to trigger a test run. You can see the status of the pipeline run on the Output tab of the pipeline settings at the bottom.

 

Once the data pipeline run is successful, you can deploy the pipeline and trigger the run manually or on a schedule. To monitor the pipeline runs, you can switch to Monitor tab on the left and use the Refresh button to refresh the list as shown below.

 

clipboard_image_11.png

 

 

Getting Started

We encourage you to get started by creating a Data pipeline using one of the preferred toolchains bringing data from disparate data sources into Azure Database for MySQL as a destination target.

 

 

For any questions or feedback around Azure Database for MySQL service, please reach out to us AskAzureDBforMySQL@service.microsoft.com

 

Parikshit Savjani
Principal Program Manager, Microsoft