<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Azure Virtual Machine &#8211; Sibeesh Passion</title>
	<atom:link href="https://www.sibeeshpassion.com/tag/azure-virtual-machine/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Thu, 05 Sep 2019 16:37:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Azure Virtual Machine &#8211; Sibeesh Passion</title>
	<link>https://www.sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Encrypt an Azure Virtual Machine VHD File in 5 Minutes</title>
		<link>https://www.sibeeshpassion.com/encrypt-an-azure-virtual-machine-vhd-file-in-5-minutes/</link>
					<comments>https://www.sibeeshpassion.com/encrypt-an-azure-virtual-machine-vhd-file-in-5-minutes/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Tue, 03 Sep 2019 07:20:45 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Azure Encryption]]></category>
		<category><![CDATA[Azure Security]]></category>
		<category><![CDATA[Azure Virtual Machine]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[VHD]]></category>
		<category><![CDATA[Virtual Machines]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=13901</guid>

					<description><![CDATA[[toc] Introduction All the files inside a storage accounts are encrypted by default, but the case is different for an Azure Virtual Machine. The VHD file we have in an Azure VM is not encrypted by default, thus we would have to do that manually. Here in this video I will show, how you can do that. I hope you will like this video, Please do not forget to share me your feedback and subscribe to our channel. Why Should We Encrypt Our VHD Disk? Security is something that we all are concerned about, and by doing the Encryption on [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>[toc]</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>All the files inside a storage accounts are encrypted by default, but the case is different for an Azure Virtual Machine. The VHD file we have in an Azure VM is not encrypted by default, thus we would have to do that manually. Here in this video I will show, how you can do that. I hope you will like this video, Please do not forget to share me your feedback and subscribe to our channel.   </p>



<h2 class="wp-block-heading">Why Should We Encrypt Our VHD Disk?</h2>



<p>Security is something that we all are concerned about, and by doing the Encryption on the VHD file in our Azure VM disk, we can assure some level of security and safeguard our data. Microsoft Azure uses the BitLocker feature in Windows and DMCrypt feature in Linux to do this encryption. As you might have already known that Azure Key Vault is used to store the key, secret, certificates of our applications, and while doing the encryption we are also saving our keys in the <a href="https://sibeeshpassion.com/secure-serverless-azure-functions-appsetting-using-key-vault/#configure-azure-key-vault">Azure KeyVault</a>. </p>



<h2 class="wp-block-heading">Prerequisites </h2>



<p>You can not encrypt all of your VMs, there are some limitations. </p>



<ol class="wp-block-list"><li>Only the standard VMs are supported</li><li>The Basic A series VMs are not supported</li><li>The VM should have minimum of 2 GB memory</li></ol>



<p>You can read more about this <a href="https://docs.microsoft.com/en-us/azure/security/azure-security-disk-encryption-prerequisites">here</a>.</p>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Encrypt an Azure Virtual Machine VHD File in 5 Minutes" width="1200" height="900" src="https://www.youtube.com/embed/vUEHARdHihE?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div><figcaption> Encrypt an Azure Virtual Machine VHD File in 5 Minutes</figcaption></figure>



<h2 class="wp-block-heading">Your turn. What do you think?</h2>



<p>Did I miss anything that you may think which is needed in this article? Could you find this post as useful? Kindly do not forget to share me your feedback.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/encrypt-an-azure-virtual-machine-vhd-file-in-5-minutes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Creating an Azure VM from the VHDX/VHD File</title>
		<link>https://www.sibeeshpassion.com/creating-an-azure-vm-from-the-vhdx-vhd-file/</link>
					<comments>https://www.sibeeshpassion.com/creating-an-azure-vm-from-the-vhdx-vhd-file/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Wed, 06 Mar 2019 09:50:03 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Azure Managed Image]]></category>
		<category><![CDATA[Azure Virtual Machine]]></category>
		<category><![CDATA[Azure VM]]></category>
		<category><![CDATA[Convert VHDX to VHD]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[VHDX and VHD]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=13619</guid>

					<description><![CDATA[[toc] Introduction When you have an on premises Virtual Machine and if you need to move the same to a cloud, you should create a Virtual Hard Disk. The virtual hard disks are of two types, one is VHD and the other is VHDX. Unfortunately the Microsoft Azure cloud supports only the generation 1 VMs which are VHD, These VHDs are fixed size and the maximum size allowed is 1023 GB. Here in this article, we are going to see how we can spin up a Virtual Machine in Azure from the VHD file we have. I will explain why [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>[toc]</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>When you have an on premises Virtual Machine and if you need to move the same to a cloud, you should create a Virtual Hard Disk. The virtual hard disks are of two types, one is VHD and the other is VHDX. Unfortunately the Microsoft Azure cloud supports only the generation 1 VMs which are VHD, These VHDs are fixed size and the maximum size allowed is 1023 GB. Here in this article, we are going to see how we can spin up a Virtual Machine in Azure from the VHD file we have. I will explain why I came to this situation in the Background section. I hope you will find this article useful. </p>



<h2 class="wp-block-heading">Background</h2>



<p>I was working with a product called UCS (Univention Corporate Server), you can consider it as a private play store where you can install and use your custom applications, you are also allowed to use the existing ones as well. Now I wanted to create an Azure VM with the UCS in it, but all I had in my hand was a VHDX file, which is not supported in Azure. </p>



<h2 class="wp-block-heading">Steps</h2>



<p>In this article, we will be doing the following tasks.</p>



<ol class="wp-block-list"><li>Converting the VHDX file to VHD</li><li>Upload it to the Azure Blob storage</li><li>Create a Managed Image from the VHD</li><li>Create the Virtual Machine from the Managed Image</li></ol>



<h2 class="wp-block-heading">Spin up the Azure VM from VHDX</h2>



<p>As we have discussed, the first step is to convert the VHDX file to VHD. </p>



<h3 class="wp-block-heading">Convert VHDX to VHD</h3>



<p>We are going to use PowerShell for the conversion as it has some modules already to support this conversion.</p>



<pre class="wp-block-code"><code>Convert-VHD –Path c:\CreateVM\ucs.vhdx –DestinationPath c:\CreateVM\ucs.vhd -VHDType Fixed</code></pre>



<p>Please be noted that the Argument <strong>-VHDType</strong> is very important, <g class="gr_ gr_3 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" id="3" data-gr-id="3">otherwise</g> you may be getting an error as <g class="gr_ gr_5 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-del replaceWithoutSep" id="5" data-gr-id="5">follows,</g> when you try to create the Managed image using the command <strong>New-AzImage</strong>.</p>



<pre class="wp-block-code"><code>New-AzImage : Only blobs formatted as VHDs can be imported.
ErrorCode: InvalidParameter
ErrorMessage: Only blobs formatted as VHDs can be imported.
ErrorTarget: disks
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : 16baa116-be93-4054-8ba9-265eda636f0c
At line:1 char:10
+ $image = New-AzImage -ImageName $imageName -ResourceGroupName $rgName ...
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzImage], ComputeCloudException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.NewAzureRmImage</code></pre>



<p>Once you are done a new VHD image will be created in the destination path you have given. Please be noted that the size of this file may be huge, and when you upload it to the Blob storage, it may take a longer depends on the network speed you have.</p>



<h3 class="wp-block-heading">Upload the VHD file to Azure Blob Storage</h3>



<p>As a prerequisite, you should create a storage account before you start this process. Once you have created the storage account, you are good to go and start the upload. Go to your Storage account, and click on the Blobs under blob services. </p>



<ul class="wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex"><li class="blocks-gallery-item"><figure><img fetchpriority="high" decoding="async" width="247" height="386" src="https://sibeeshpassion.com/wp-content/uploads/2019/02/Blobs.png" alt="" data-id="13620" data-link="https://sibeeshpassion.com/?attachment_id=13620" class="wp-image-13620" srcset="/wp-content/uploads/2019/02/Blobs.png 247w, /wp-content/uploads/2019/02/Blobs-192x300.png 192w" sizes="(max-width: 247px) 100vw, 247px" /></figure></li></ul>



<p> Now you can click on the +Container menu item and create a new container which is nothing but the container for your files. Now we can go inside the container and click on the Upload button. In the upcoming pop up you can select the VHD file using the file picker option and upload the file. As I said earlier, this process is totally depends on your network speed.</p>



<p>Sometimes, due to the browser inactivity, the uploading of the heavy files to the blobs using Azure portal can be a headache as it throws error. One of the suggestion I can give you here is to use Azure Storage Explorer tool, which is quite easy to use and effective. Once you download the tool, login with your Azure credentials and got to the storage accounts and click on Blob Containers. In the new window click on Upload and then Upload files. </p>



<p>Please make sure that you are selecting the Blob type as Page Blob and then click upload. The uploading is really faster if you are using the tool instead of the portal.</p>



<ul class="wp-block-gallery columns-1 is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex"><li class="blocks-gallery-item"><figure><img decoding="async" width="650" height="350" src="https://sibeeshpassion.com/wp-content/uploads/2019/02/Azure-Storage-Explorer.png" alt="" data-id="13623" data-link="https://sibeeshpassion.com/?attachment_id=13623" class="wp-image-13623" srcset="/wp-content/uploads/2019/02/Azure-Storage-Explorer.png 650w, /wp-content/uploads/2019/02/Azure-Storage-Explorer-300x162.png 300w, /wp-content/uploads/2019/02/Azure-Storage-Explorer-400x215.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></figure></li></ul>



<h3 class="wp-block-heading">Create a Managed Image from the VHD file</h3>



<p>As we have our VHD file in our Blobs, now it is time to create an Image from the file. We are going to write some PowerShell commands to do the work for us. To set the configuration we are going to use the command  <em>New-AzImageConfig</em>. If you are getting the error &#8220;The term <em>New-AzImageConfig</em> &#8216; is not recognized as the name of a cmdlet&#8221;, you should install and import the module Az<g class="gr_ gr_336 gr-alert gr_gramm gr_inline_cards gr_run_anim Style replaceWithoutSep" id="336" data-gr-id="336">.Compute</g>.</p>



<pre class="wp-block-code"><code>Install-Module Az.Compute
import-module Az.Compute</code></pre>



<p>It is possible to get some additional error when you try to install the Az<g class="gr_ gr_5 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Style replaceWithoutSep" id="5" data-gr-id="5">.Compute</g> module.&nbsp;In that case, you can try the preceding command.</p>



<pre class="wp-block-code"><code> Install-Module Az.Compute -AllowClobber</code></pre>



<p>Once that is done, we can set some variables in the PowerShell as follows. </p>



<pre class="wp-block-code"><code>$vmName = "ucs"
$rgName = "ucs"
$location = "West Europe"
$imageName = "ucs"
$osVhdUri = "https://ucs.blob.core.windows.net/files/ucs.vhd"</code></pre>



<p>Now we can start the image creation as preceding. </p>



<pre class="wp-block-code"><code>$imageConfig = New-AzImageConfig -Location $location
$imageConfig = Set-AzImageOsDisk -Image $imageConfig -OsType Linux -OsState Generalized -BlobUri $osVhdUri
$image = New-AzImage -ImageName $imageName -ResourceGroupName $rgName -Image $imageConfig</code></pre>



<p>As the UCS is a Linux based system, I had given the -OsType as Linux, you may have to change it as per your needs. If you are trying to run the command New-AzImage with the VHDX blob, you will get an error as below.</p>



<pre class="wp-block-code"><code>New-AzImage : Blob name in URL https://ucs.blob.core.windows.net/files/ucs.vhdx must end with ".vhd" extension.
ErrorCode: InvalidParameter
ErrorMessage: Blob name in URL https://ucs.blob.core.windows.net/files/ucs.vhdx must end with ".vhd" extension.
ErrorTarget: blobUri
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : 668b8e66-85b3-4c7b-a182-4f155e16b66d
At line:1 char:10
+ $image = New-AzImage -ImageName $imageName -ResourceGroupName $rgName ...
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzImage], ComputeCloudException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.NewAzureRmImage</code></pre>



<p>But we don&#8217;t need to worry about it as we already converted our VHDX file to VHD format. Once the New-AzImage command is successful, you can see the image in the Azure portal if you go to the Images section. You can search for the keyword &#8220;Images&#8221; in the portal.</p>



<h3 class="wp-block-heading">Create a VM from the Managed Image</h3>



<p>As we have the image now, we can create our VM easily from the Azure portal. Go to the Images and select your image and then click on the button +Create VM. In the next page, you can give the details of your VM. You can also create the VM by using the PowerShell command as preceding.</p>



<pre class="wp-block-code"><code>New-AzVm `
    -ResourceGroupName "myResourceGroup" `
    -Name "myVMfromImage" `
    -ImageName "myImage" `
    -Location "East US" `
    -VirtualNetworkName "myImageVnet" `
    -SubnetName "myImageSubnet" `
    -SecurityGroupName "myImageNSG" `
    -PublicIpAddressName "myImagePIP" `
    -OpenPorts 3389</code></pre>



<ul class="wp-block-gallery columns-1 is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex"><li class="blocks-gallery-item"><figure><img decoding="async" width="747" height="664" src="https://sibeeshpassion.com/wp-content/uploads/2019/02/Create-VM-from-the-Image.png" alt="" data-id="13625" data-link="https://sibeeshpassion.com/?attachment_id=13625" class="wp-image-13625" srcset="/wp-content/uploads/2019/02/Create-VM-from-the-Image.png 747w, /wp-content/uploads/2019/02/Create-VM-from-the-Image-300x267.png 300w, /wp-content/uploads/2019/02/Create-VM-from-the-Image-400x356.png 400w, /wp-content/uploads/2019/02/Create-VM-from-the-Image-675x600.png 675w" sizes="(max-width: 747px) 100vw, 747px" /></figure></li></ul>



<p>Once you had filled all the details, you can either click on the Review+Create or you can go through each step. The creation of VM can take a few minutes. Once the task is done, you can go to your Virtual Machine and spin up the same. I would also recommend you to assign a static IP and DNS name to your VM. </p>



<ul class="wp-block-gallery columns-1 is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex"><li class="blocks-gallery-item"><figure><img decoding="async" width="457" height="391" src="https://sibeeshpassion.com/wp-content/uploads/2019/02/VM-IP-configuration.png" alt="" data-id="13626" data-link="https://sibeeshpassion.com/?attachment_id=13626" class="wp-image-13626" srcset="/wp-content/uploads/2019/02/VM-IP-configuration.png 457w, /wp-content/uploads/2019/02/VM-IP-configuration-300x257.png 300w, /wp-content/uploads/2019/02/VM-IP-configuration-400x342.png 400w" sizes="(max-width: 457px) 100vw, 457px" /></figure></li></ul>



<h2 class="wp-block-heading">Conclusion</h2>



<p>In this article, we have learned,</p>



<ul class="wp-block-list"><li>What are VHDX and VHD files</li><li>How to convert the VHDX file to VHD</li><li>How to upload VHD files to Azure Blob storage</li><li>How to create Managed Image from the VHD file in Azure</li><li>How to create Virtual Machine using the Managed Image</li></ul>



<h2 class="wp-block-heading">Your turn. What do you think?</h2>



<p>Thanks a lot for reading. Did I miss anything that you may think which is needed in this article? Could you find this post as useful? Kindly do not forget to share me your feedback.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/creating-an-azure-vm-from-the-vhdx-vhd-file/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Link Your MySQL Database To Azure Virtual Machine And WordPress</title>
		<link>https://www.sibeeshpassion.com/link-your-mysql-database-to-azure-virtual-machine-and-wordpress/</link>
					<comments>https://www.sibeeshpassion.com/link-your-mysql-database-to-azure-virtual-machine-and-wordpress/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Thu, 24 Sep 2015 05:35:02 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Adding end points in Azure Virtual Machine]]></category>
		<category><![CDATA[Azure Virtual Machine]]></category>
		<category><![CDATA[Change Virtual Machine Endpoints]]></category>
		<category><![CDATA[Changing the Firewall Settings In Azure Virtual Machine]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=10648</guid>

					<description><![CDATA[This article explains how you can link your existing MySQL database to a Azure virtual machine and configure in wordpress. Once your database and wordpress website id ready you can go ahead and link your DB to wordpress and axure virtual machine. If you need to back up and restore your clear db MySQL database in a virtual machine in Azure, I suggest you to read Back Up your ClearDB and restore in Azure. If you are new to azure virtual machine, I strongly recommend you to read here: Create Virtual Machine In Azure. You can also find how to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This article explains how you can link your existing MySQL database to a Azure virtual machine and configure in wordpress. Once your database and wordpress website id ready you can go ahead and link your DB to wordpress and axure virtual machine.  If you need to back up and restore your clear db <a href="http://sibeeshpassion.com/category/mysql/" target="_blank">MySQL </a>database in a virtual machine in <a href="http://sibeeshpassion.com/tag/azure/" target="_blank">Azure</a>, I suggest you to read <a href="http://sibeeshpassion.com/back-up-your-cleardb-and-restore-in-azure-virtual-machine-mysql/" target="_blank">Back Up your ClearDB and restore in Azure</a>. If you are new to azure virtual machine, I strongly recommend you to read here: <a href="http://sibeeshpassion.com/create-virtual-machine-in-azure/" target="_blank">Create Virtual Machine In Azure</a>. You can also find how to install MySQL in Azure Virtual Machine here <a href="http://sibeeshpassion.com/install-mysql-in-azure-virtual-machine/" target="_blank">Install MySQL in Azure </a> . I hope you will like this.</p>
<p>If you are new to azure, I recommend you to read here: <a href="http://sibeeshpassion.com/category/azure/" target="_blank">Azure </a></p>
<p><strong>Background</strong></p>
<p>I hope you read my articles related to <a href="http://sibeeshpassion.com/category/virtual-machine/" target="_blank">Virtual Machines </a>in azure. If not, please read those. I was being limited to use only 20 MB size since one of the MSDN subscription was providing me ClearDB. So I thought of creating a virtual machine and install MySQL. Then I restored my previous Database to my new Database. Here in this article, I will share you the steps to link the database you created to azure virtual machine and wordpress.</p>
<p><strong>Steps to Back Up your ClearDB and restore</strong></p>
<p>Login to your azure portal <a href="https://manage.windowsazure.com" target="_blank">https://manage.windowsazure.com</a></p>
<p>Login to your Azure <a href="http://sibeeshpassion.com/create-virtual-machine-in-azure/" target="_blank">Virtual Machine</a></p>
<p>Hope you have already installed MySQL in your Virtual Machine. If so, we are ready to go.</p>
<p>First thing we need to do is to add the end points in our Azure virtual machine. To do so you need to follow the below steps.</p>
<p><strong>Add end points in Azure virtual machine</strong></p>
<p>Go to your virtual machine in azure management portal. </p>
<p><div id="attachment_10680" style="width: 644px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL15.png"><img decoding="async" aria-describedby="caption-attachment-10680" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL15-1024x486.png" alt="Adding end points in Azure Virtual Machine" width="634" height="301" class="size-large wp-image-10680" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL15-1024x486.png 1024w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL15-300x142.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL15-768x364.png 768w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL15-400x190.png 400w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL15.png 1160w" sizes="(max-width: 634px) 100vw, 634px" /></a><p id="caption-attachment-10680" class="wp-caption-text">Adding end points in Azure Virtual Machine</p></div></p>
<p>Now click on the end points as shown in the preceding image.</p>
<p><div id="attachment_10681" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL16-e1443070554867.png"><img decoding="async" aria-describedby="caption-attachment-10681" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL16-e1443070554867.png" alt="Adding end points in Azure Virtual Machine" width="650" height="190" class="size-full wp-image-10681" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL16-e1443070554867.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL16-e1443070554867-300x88.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL16-e1443070554867-400x117.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10681" class="wp-caption-text">Adding end points in Azure Virtual Machine</p></div></p>
<p>Click on the add option in the footer area.</p>
<p><div id="attachment_10682" style="width: 644px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL17.png"><img decoding="async" aria-describedby="caption-attachment-10682" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL17-1024x59.png" alt="Adding end points in Azure Virtual Machine" width="634" height="37" class="size-large wp-image-10682" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL17-1024x59.png 1024w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL17-300x17.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL17-768x44.png 768w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL17-400x23.png 400w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL17.png 1157w" sizes="(max-width: 634px) 100vw, 634px" /></a><p id="caption-attachment-10682" class="wp-caption-text">Adding end points in Azure Virtual Machine</p></div></p>
<p>Now you will be getting a pop up, in that please click on the <em>Add standalone end points</em>.</p>
<p><div id="attachment_10683" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL18-e1443070721887.png"><img decoding="async" aria-describedby="caption-attachment-10683" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL18-e1443070721887.png" alt="Adding end points in Azure Virtual Machine" width="650" height="532" class="size-full wp-image-10683" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL18-e1443070721887.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL18-e1443070721887-300x246.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL18-e1443070721887-400x327.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10683" class="wp-caption-text">Adding end points in Azure Virtual Machine</p></div></p>
<p>In the given area, please select MySQL as name and TCP as protocol. Port should be the one we did it while configuring the MySQL. For example 3306. I suggest you to do not edit in that area.</p>
<p><div id="attachment_10684" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL19-e1443070904219.png"><img decoding="async" aria-describedby="caption-attachment-10684" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL19-e1443070904219.png" alt="Adding end points in Azure Virtual Machine" width="650" height="535" class="size-full wp-image-10684" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL19-e1443070904219.png 434w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL19-e1443070904219-300x247.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL19-e1443070904219-400x329.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10684" class="wp-caption-text">Adding end points in Azure Virtual Machine</p></div></p>
<p>Click on the tick icon once you have made entry for the required fields. Then you can see the progression and once it is completed, you will get a message as follows.</p>
<p><div id="attachment_10685" style="width: 644px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL20.png"><img decoding="async" aria-describedby="caption-attachment-10685" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL20-1024x111.png" alt="Adding end points in Azure Virtual Machine" width="634" height="69" class="size-large wp-image-10685" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL20-1024x111.png 1024w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL20-300x32.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL20-768x83.png 768w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL20-400x43.png 400w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL20.png 1167w" sizes="(max-width: 634px) 100vw, 634px" /></a><p id="caption-attachment-10685" class="wp-caption-text">Adding end points in Azure Virtual Machine</p></div></p>
<p>So we have successfully created the end points for our virtual machine MySQL. The next step is, to change some settings in the firewall in our virtual machine. Please do this with some care. It is very much important. </p>
<p><strong>Setting the firewall configuration in Azure virtual machine</strong></p>
<p>Go to the start menu and type power shell. You will be given some search results.</p>
<p><div id="attachment_10686" style="width: 339px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL21.png"><img decoding="async" aria-describedby="caption-attachment-10686" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL21.png" alt="Setting the firewall configuration in Azure virtual machine" width="329" height="539" class="size-full wp-image-10686" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL21.png 329w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL21-183x300.png 183w" sizes="(max-width: 329px) 100vw, 329px" /></a><p id="caption-attachment-10686" class="wp-caption-text">Setting the firewall configuration in Azure virtual machine</p></div></p>
<p>Now you can see a command window with the name of logged in user as shown in the preceding image.</p>
<p><div id="attachment_10687" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL22-e1443071556733.png"><img decoding="async" aria-describedby="caption-attachment-10687" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL22-e1443071556733.png" alt="Setting the firewall configuration in Azure virtual machine" width="650" height="477" class="size-full wp-image-10687" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL22-e1443071556733.png 486w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL22-e1443071556733-300x220.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL22-e1443071556733-400x294.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10687" class="wp-caption-text">Setting the firewall configuration in Azure virtual machine</p></div></p>
<p>The next step is a bit complex one. You need to enter a complex command which is shown here.</p>
<p><div id="attachment_10688" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL23-e1443071662673.png"><img decoding="async" aria-describedby="caption-attachment-10688" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL23-e1443071662673.png" alt="Setting the firewall configuration in Azure virtual machine" width="650" height="41" class="size-full wp-image-10688" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL23-e1443071662673.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL23-e1443071662673-300x19.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL23-e1443071662673-400x25.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10688" class="wp-caption-text">Setting the firewall configuration in Azure virtual machine</p></div></p>
<p>For your convenience I am giving the command as below.</p>
<p>[sql]<br />
New-NetFirewallRule -DisplayName &quot;MySQL56&quot; -Direction Indound -Protocol TCP -LocalPort 3306 -Action Allow -Profile Public<br />
[/sql]</p>
<p>You can type the command as shown below.</p>
<p><div id="attachment_10689" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL24-e1443071814487.png"><img decoding="async" aria-describedby="caption-attachment-10689" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL24-e1443071814487.png" alt="Setting firewall in azure virtual machine" width="650" height="474" class="size-full wp-image-10689" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL24-e1443071814487.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL24-e1443071814487-300x219.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL24-e1443071814487-400x292.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10689" class="wp-caption-text">Setting firewall in azure virtual machine</p></div></p>
<p>And if you do the above step correctly, I am sure you will be given a result as follows.</p>
<p><div id="attachment_10690" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL25-e1443071893874.png"><img decoding="async" aria-describedby="caption-attachment-10690" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL25-e1443071893874.png" alt="Setting firewall in azure virtual machine" width="650" height="307" class="size-full wp-image-10690" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL25-e1443071893874.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL25-e1443071893874-300x142.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL25-e1443071893874-400x189.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10690" class="wp-caption-text">Setting firewall in azure virtual machine</p></div></p>
<p>Wow, we have done the settings needed now.</p>
<p>Now we need to change some settings in our wordpress configuration. As you all know the wordpress configuration is in the file called wp-config.php. So we are going to change the configuration in that file.</p>
<p><strong>Changing the configuration to new settings in wordpress</strong></p>
<p>Again go to your manage azure page, click the web application you need to change the settings.</p>
<p><div id="attachment_10691" style="width: 644px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL26.png"><img decoding="async" aria-describedby="caption-attachment-10691" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL26-1024x505.png" alt="Changing the configuration to new settings in wordpress" width="634" height="313" class="size-large wp-image-10691" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL26-1024x505.png 1024w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL26-300x148.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL26-768x379.png 768w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL26-400x197.png 400w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL26.png 1062w" sizes="(max-width: 634px) 100vw, 634px" /></a><p id="caption-attachment-10691" class="wp-caption-text">Changing the configuration to new settings in wordpress</p></div></p>
<p>Now go to the dashboard and click on edit in visual studio on-line.</p>
<p><div id="attachment_10692" style="width: 282px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL91.png"><img decoding="async" aria-describedby="caption-attachment-10692" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL91.png" alt="Changing the configuration to new settings in wordpress" width="272" height="379" class="size-full wp-image-10692" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL91.png 272w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL91-215x300.png 215w" sizes="(max-width: 272px) 100vw, 272px" /></a><p id="caption-attachment-10692" class="wp-caption-text">Changing the configuration to new settings in wordpress</p></div></p>
<p>You can see your wordpress files now. Click on the wp-config.php. </p>
<p><div id="attachment_10693" style="width: 329px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL27.png"><img decoding="async" aria-describedby="caption-attachment-10693" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL27.png" alt="Changing the configuration to new settings in wordpress" width="319" height="632" class="size-full wp-image-10693" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL27.png 319w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL27-151x300.png 151w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL27-303x600.png 303w" sizes="(max-width: 319px) 100vw, 319px" /></a><p id="caption-attachment-10693" class="wp-caption-text">Changing the configuration to new settings in wordpress</p></div></p>
<p>It is always better to take a back up or copy of the wp-config.php, so that you can revert back to your clearDB configuration whenever you want. I strongly recommend you to do this step.</p>
<p><div id="attachment_10694" style="width: 309px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL28.png"><img decoding="async" aria-describedby="caption-attachment-10694" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL28.png" alt="Changing the configuration to new settings in wordpress" width="299" height="225" class="size-full wp-image-10694" /></a><p id="caption-attachment-10694" class="wp-caption-text">Changing the configuration to new settings in wordpress</p></div></p>
<p>You can rename the pasted file, just right click on the file and click rename.</p>
<p><div id="attachment_10695" style="width: 293px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL29.png"><img decoding="async" aria-describedby="caption-attachment-10695" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL29.png" alt="Changing the configuration to new settings in wordpress" width="283" height="218" class="size-full wp-image-10695" /></a><p id="caption-attachment-10695" class="wp-caption-text">Changing the configuration to new settings in wordpress</p></div></p>
<p>As you can see in the below image, I have given the name as ClearDB-Wp-Config.php.</p>
<p><div id="attachment_10696" style="width: 271px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL30.png"><img decoding="async" aria-describedby="caption-attachment-10696" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL30.png" alt="Changing the configuration to new settings in wordpress" width="261" height="176" class="size-full wp-image-10696" /></a><p id="caption-attachment-10696" class="wp-caption-text">Changing the configuration to new settings in wordpress</p></div></p>
<p>Open your wp-config.php and change the MySQL host name.</p>
<p><div id="attachment_10697" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL31-e1443072600781.png"><img decoding="async" aria-describedby="caption-attachment-10697" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL31-e1443072600781.png" alt="Changing the configuration to new settings in wordpress" width="650" height="35" class="size-full wp-image-10697" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL31-e1443072600781.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL31-e1443072600781-300x16.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL31-e1443072600781-400x22.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10697" class="wp-caption-text">Changing the configuration to new settings in wordpress</p></div></p>
<p>Now add the port number in the host name because it listen that port.</p>
<p><div id="attachment_10698" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL32-e1443072686568.png"><img decoding="async" aria-describedby="caption-attachment-10698" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL32-e1443072686568.png" alt="Changing the configuration to new settings in wordpress" width="650" height="42" class="size-full wp-image-10698" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL32-e1443072686568.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL32-e1443072686568-300x19.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL32-e1443072686568-400x26.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10698" class="wp-caption-text">Changing the configuration to new settings in wordpress</p></div></p>
<p>Please do not forget to change the database name, user name , password too. </p>
<p>Now I am sure your blog with new MySQL database will be running . Keep blogging. Cheers!.</p>
<p><strong>Conclusion</strong></p>
<p>Did I miss anything that you may think which is needed?.Have you ever tried virtual machine in azure?. If not, I strongly recommend that. So we have successfully configured our new MySQL database to the Azure virtual machine and wordpress. We have also done the firewall changes needed in virtual machine. I hope you liked this article. Please share me your valuable suggestions and feedback.</p>
<p><strong>Your turn. What do you think?</strong></p>
<p>A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I am able to.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/link-your-mysql-database-to-azure-virtual-machine-and-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Back Up your ClearDB and restore in Azure Virtual Machine MySQL</title>
		<link>https://www.sibeeshpassion.com/back-up-your-cleardb-and-restore-in-azure-virtual-machine-mysql/</link>
					<comments>https://www.sibeeshpassion.com/back-up-your-cleardb-and-restore-in-azure-virtual-machine-mysql/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Fri, 18 Sep 2015 10:57:02 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Azure Virtual Machine]]></category>
		<category><![CDATA[Back Up your ClearDB]]></category>
		<category><![CDATA[Restore ClearDB]]></category>
		<category><![CDATA[Restore MySQL]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=10629</guid>

					<description><![CDATA[[toc] Introduction This article explains how you can back up and restore your clear db MySQL database in a virtual machine in Azure. If you are new to azure virtual machine, I strongly recommend you to read here: Create Virtual Machine In Azure. You can also find how to install MySQL in Azure Virtual Machine here Install MySQL in Azure . I hope you will like this. If you are new to azure, I recommend you to read here: Azure Background I hope you read my articles related to Virtual Machines in azure. If not, please read those. I was [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[toc]</p>
<h3>Introduction</h3>
<p>This article explains how you can back up and restore your clear db <a href="http://sibeeshpassion.com/category/mysql/" target="_blank">MySQL </a>database in a virtual machine in <a href="http://sibeeshpassion.com/tag/azure/" target="_blank">Azure</a>. If you are new to azure virtual machine, I strongly recommend you to read here: <a href="http://sibeeshpassion.com/create-virtual-machine-in-azure/" target="_blank">Create Virtual Machine In Azure</a>. You can also find how to install MySQL in Azure Virtual Machine here <a href="http://sibeeshpassion.com/install-mysql-in-azure-virtual-machine/" target="_blank">Install MySQL in Azure </a> . I hope you will like this.</p>
<p>If you are new to azure, I recommend you to read here: <a href="http://sibeeshpassion.com/category/azure/" target="_blank">Azure </a></p>
<h3>Background</h3>
<p>I hope you read my articles related to <a href="http://sibeeshpassion.com/category/virtual-machine/" target="_blank">Virtual Machines </a>in azure. If not, please read those. I was being limited to use only 20 MB size since one of the MSDN subscription was providing me ClearDB. So I thought of creating a virtual machine and install MySQL. Then I restored my previous Database to my new Database. Here in this article, I will share you the steps to back up and restore your database. </p>
<h3>Steps to Back Up your ClearDB and restore</h3>
<p>Login to your azure portal <a href="https://manage.windowsazure.com" target="_blank">https://manage.windowsazure.com</a></p>
<p>Login to your Azure <a href="http://sibeeshpassion.com/create-virtual-machine-in-azure/" target="_blank">Virtual Machine</a></p>
<p>Hope you have already installed MySQL in your Virtual Machine. If so, we are ready to go.</p>
<p>Go to start menu, and type MySQL, you will be shown some results. Click on the MySQL command line section.&#8217;</p>
<p><div id="attachment_10632" style="width: 363px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL1.png"><img decoding="async" aria-describedby="caption-attachment-10632" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL1.png" alt="Back Up your ClearDB and restore in Azure Virtual Machine MySQL" width="353" height="461" class="size-full wp-image-10632" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL1.png 353w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL1-230x300.png 230w" sizes="(max-width: 353px) 100vw, 353px" /></a><p id="caption-attachment-10632" class="wp-caption-text">Back Up your ClearDB and restore in Azure Virtual Machine MySQL</p></div></p>
<p>Provide your MySQL password.</p>
<p><div id="attachment_10633" style="width: 603px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL2.png"><img decoding="async" aria-describedby="caption-attachment-10633" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL2.png" alt="Back Up your ClearDB and restore in Azure Virtual Machine MySQL" width="593" height="339" class="size-full wp-image-10633" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL2.png 593w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL2-300x172.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL2-400x229.png 400w" sizes="(max-width: 593px) 100vw, 593px" /></a><p id="caption-attachment-10633" class="wp-caption-text">Back Up your ClearDB and restore in Azure Virtual Machine MySQL</p></div></p>
<p>You will be getting a welcome message as shown below.</p>
<p><div id="attachment_10634" style="width: 602px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL3.png"><img decoding="async" aria-describedby="caption-attachment-10634" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL3.png" alt="Back Up your ClearDB and restore in Azure Virtual Machine MySQL" width="592" height="344" class="size-full wp-image-10634" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL3.png 592w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL3-300x174.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL3-400x232.png 400w" sizes="(max-width: 592px) 100vw, 592px" /></a><p id="caption-attachment-10634" class="wp-caption-text">Back Up your ClearDB and restore in Azure Virtual Machine MySQL</p></div></p>
<p>Create a database by executing a query as follows. </p>
<p>[sql]<br />
CREATE DATABASE DATABASENAME;<br />
[/sql]</p>
<p><div id="attachment_10635" style="width: 600px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL4.png"><img decoding="async" aria-describedby="caption-attachment-10635" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL4.png" alt="Back Up your ClearDB and restore in Azure Virtual Machine MySQL" width="590" height="336" class="size-full wp-image-10635" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL4.png 590w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL4-300x171.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL4-400x228.png 400w" sizes="(max-width: 590px) 100vw, 590px" /></a><p id="caption-attachment-10635" class="wp-caption-text">Back Up your ClearDB and restore in Azure Virtual Machine MySQL</p></div></p>
<p>Go to start again, type cmd, right click and run as administrator on the result as follows.</p>
<p><div id="attachment_10636" style="width: 350px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL5.png"><img decoding="async" aria-describedby="caption-attachment-10636" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL5.png" alt="Back Up your ClearDB and restore in Azure Virtual Machine MySQL" width="340" height="395" class="size-full wp-image-10636" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL5.png 340w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL5-258x300.png 258w" sizes="(max-width: 340px) 100vw, 340px" /></a><p id="caption-attachment-10636" class="wp-caption-text">Back Up your ClearDB and restore in Azure Virtual Machine MySQL</p></div></p>
<p>Go to MySQL bin folder by executing the commands as shown in the below image.</p>
<p><div id="attachment_10637" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL6-e1442569873148.png"><img decoding="async" aria-describedby="caption-attachment-10637" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL6-e1442569873148.png" alt="Back Up your ClearDB and restore in Azure Virtual Machine MySQL" width="650" height="329" class="size-full wp-image-10637" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL6-e1442569873148.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL6-e1442569873148-300x152.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL6-e1442569873148-400x202.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10637" class="wp-caption-text">Back Up your ClearDB and restore in Azure Virtual Machine MySQL</p></div></p>
<p>Before going through the back up process, we need to make sure that our website related files can be opened with on-line <a href="http://sibeeshpassion.com/category/visual-studio/" target="_blank">visual studio</a>.</p>
<p>For that you need to follow the below steps.</p>
<p>Go to your windows azure portal, click on the web application you need to edit. Once you done that, you can see the dashboard for that web application. Click on the configure.</p>
<p><div id="attachment_10638" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL7-e1442570329396.png"><img decoding="async" aria-describedby="caption-attachment-10638" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL7-e1442570329396.png" alt="Back Up And Restore Your Old MySQL Database to New" width="650" height="331" class="size-full wp-image-10638" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL7-e1442570329396.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL7-e1442570329396-300x153.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL7-e1442570329396-400x204.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10638" class="wp-caption-text">Back Up And Restore Your Old MySQL Database to New Database</p></div></p>
<p>Scroll down and switch on edit in visual studio on-line option.</p>
<p><div id="attachment_10639" style="width: 565px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL8.png"><img decoding="async" aria-describedby="caption-attachment-10639" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL8.png" alt="Back Up And Restore Your Old MySQL Database to New Database" width="555" height="197" class="size-full wp-image-10639" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL8.png 555w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL8-300x106.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL8-400x142.png 400w" sizes="(max-width: 555px) 100vw, 555px" /></a><p id="caption-attachment-10639" class="wp-caption-text">Back Up And Restore Your Old MySQL Database to New Database</p></div></p>
<p>Now if you go to the options given in your dashboards right area, you can see edit in visual studio on-line option.</p>
<p><div id="attachment_10640" style="width: 282px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL9.png"><img decoding="async" aria-describedby="caption-attachment-10640" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL9.png" alt="Back Up And Restore Your Old MySQL Database to New Database" width="272" height="379" class="size-full wp-image-10640" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL9.png 272w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL9-215x300.png 215w" sizes="(max-width: 272px) 100vw, 272px" /></a><p id="caption-attachment-10640" class="wp-caption-text">Back Up And Restore Your Old MySQL Database to New Database</p></div></p>
<p>Just click on that option, and you will be opened visual studio on-line with your application files.</p>
<p><div id="attachment_10641" style="width: 644px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL10.png"><img decoding="async" aria-describedby="caption-attachment-10641" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL10-1024x513.png" alt="Back Up And Restore Your Old MySQL Database to New Database" width="634" height="318" class="size-large wp-image-10641" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL10-1024x513.png 1024w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL10-300x150.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL10-768x385.png 768w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL10-400x200.png 400w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL10.png 1180w" sizes="(max-width: 634px) 100vw, 634px" /></a><p id="caption-attachment-10641" class="wp-caption-text">Back Up And Restore Your Old MySQL Database to New Database</p></div></p>
<p>Now go back to your command prompt in your virtual machine and type a command as follows.</p>
<p><div id="attachment_10643" style="width: 566px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL11.png"><img decoding="async" aria-describedby="caption-attachment-10643" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL11.png" alt="Back Up And Restore Your Old MySQL Database to New Database" width="556" height="34" class="size-full wp-image-10643" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL11.png 556w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL11-300x18.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL11-400x24.png 400w" sizes="(max-width: 556px) 100vw, 556px" /></a><p id="caption-attachment-10643" class="wp-caption-text">Back Up And Restore Your Old MySQL Database to New Database</p></div></p>
<p>In the above command, what we do is, creating back up from our old database to a new file . Make sure that you have given the correct details. </p>
<p> 1. User Name<br />
 2. Host Name<br />
 3. Database Name</p>
<p>These information you can get from the <em>wp-config.php</em> file from your web application folder. Remember we have enabled open with visual studio on-line option? Please go back to that and copy the needed information from <em>wp-config.php</em> file.</p>
<p>So once you execute that command you can get a script file in your c folder, In my case I gave the path as C and the file name as myolddb. So I got the script file as follows.</p>
<p><div id="attachment_10644" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL12-e1442572352404.png"><img decoding="async" aria-describedby="caption-attachment-10644" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL12-e1442572352404.png" alt="Back Up And Restore Your Old MySQL Database to New Database" width="650" height="457" class="size-full wp-image-10644" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL12-e1442572352404.png 650w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL12-e1442572352404-300x211.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL12-e1442572352404-400x281.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-10644" class="wp-caption-text">Back Up And Restore Your Old MySQL Database to New Database</p></div></p>
<p>The next thing we need to do is, restoring the back up to our new database right? Hope you already got back up file. </p>
<p>Go to the command prompt again. Type the command as follows.</p>
<p><div id="attachment_10645" style="width: 684px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL13.png"><img decoding="async" aria-describedby="caption-attachment-10645" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL13.png" alt="Back Up And Restore Your Old MySQL Database to New Database" width="674" height="33" class="size-full wp-image-10645" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL13.png 674w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL13-300x15.png 300w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL13-660x33.png 660w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL13-400x20.png 400w" sizes="(max-width: 674px) 100vw, 674px" /></a><p id="caption-attachment-10645" class="wp-caption-text">Back Up And Restore Your Old MySQL Database to New Database</p></div></p>
<p>Please be noted that you need to give your new username you have created for your new MySQL database and the new database name here. </p>
<p>In my case <em>vmmysqluser </em>was the username and <em>sibeeshpassion </em>is the database name.</p>
<p>Now it is time to check the database is restored or not. We have some set of queries for that.</p>
<p>First of all change the database to your new database.</p>
<p>[sql]<br />
use yournewdatabasename;<br />
[/sql]</p>
<p>When you run the above query, you will get a message saying database changed. </p>
<p>Now we will see the tables inside this new database.</p>
<p>[sql]<br />
show tables;<br />
[/sql]</p>
<p>It will result the list of tables inside this new database.</p>
<p><div id="attachment_10646" style="width: 597px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL14.png"><img decoding="async" aria-describedby="caption-attachment-10646" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL14.png" alt="Back Up And Restore Your Old MySQL Database to New Database" width="587" height="629" class="size-full wp-image-10646" srcset="/wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL14.png 587w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL14-280x300.png 280w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL14-400x429.png 400w, /wp-content/uploads/2015/09/Back_Up_your_ClearDB_and_restore_in_Azure_Virtual_Machine_MySQL14-560x600.png 560w" sizes="(max-width: 587px) 100vw, 587px" /></a><p id="caption-attachment-10646" class="wp-caption-text">Back Up And Restore Your Old MySQL Database to New Database</p></div></p>
<p>So we have successfully done back up and restoring our MySQL database in azure virtual machine. </p>
<h3>Conclusion</h3>
<p>Did I miss anything that you may think which is needed?.Have you ever tried virtual machine in azure?. If not, I strongly recommend that. Is this post helped you do back and restore your old database to new one? I hope you liked this article. Please share me your valuable suggestions and feedback.</p>
<h3>Your turn. What do you think?</h3>
<p>A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I am able to.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/back-up-your-cleardb-and-restore-in-azure-virtual-machine-mysql/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
