<?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>Change Virtual Machine Endpoints &#8211; Sibeesh Passion</title>
	<atom:link href="https://sibeeshpassion.com/tag/change-virtual-machine-endpoints/feed/" rel="self" type="application/rss+xml" />
	<link>https://sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Thu, 24 Sep 2015 05:35:02 +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>Change Virtual Machine Endpoints &#8211; Sibeesh Passion</title>
	<link>https://sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Link Your MySQL Database To Azure Virtual Machine And WordPress</title>
		<link>https://sibeeshpassion.com/link-your-mysql-database-to-azure-virtual-machine-and-wordpress/</link>
					<comments>https://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>
<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 fetchpriority="high" 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>Now click on the end points as shown in the preceding image.</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>Click on the add option in the footer area.</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>Now you will be getting a pop up, in that please click on the <em>Add standalone end points</em>.</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>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>
<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>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>
<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>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>
<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>Now you can see a command window with the name of logged in user as shown in the preceding image.</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>The next step is a bit complex one. You need to enter a complex command which is shown here.</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>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>
<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>And if you do the above step correctly, I am sure you will be given a result as follows.</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>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>
<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>Now go to the dashboard and click on edit in visual studio on-line.</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>You can see your wordpress files now. Click on the wp-config.php. </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>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>
<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>You can rename the pasted file, just right click on the file and click rename.</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>As you can see in the below image, I have given the name as ClearDB-Wp-Config.php.</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>Open your wp-config.php and change the MySQL host name.</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>Now add the port number in the host name because it listen that port.</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>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://sibeeshpassion.com/link-your-mysql-database-to-azure-virtual-machine-and-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
