<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8187882467042826005</id><updated>2019-11-02T12:49:55.843-07:00</updated><title type='text'>Beautiful Code</title><subtitle type='html'>Code Made Beautiful and Easy.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://beautifultcode.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8187882467042826005/posts/default'/><link rel='alternate' type='text/html' href='https://beautifultcode.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8187882467042826005.post-5070754951406235811</id><published>2019-11-02T12:49:00.003-07:00</published><updated>2019-11-02T12:49:55.712-07:00</updated><title type='text'>Google Pay India Diwali Offers- How to get a rangoli ? </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Even you are tired of not getting a Rangoli on Gpay?&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-GUWxvw-FouM/Xb3aNnefdmI/AAAAAAAAj1k/qXFFpj2LiwQiW2nsxtr35-AMpg9y6m3mwCLcBGAsYHQ/s1600/google_rangoli.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1123&quot; data-original-width=&quot;540&quot; height=&quot;320&quot; src=&quot;https://1.bp.blogspot.com/-GUWxvw-FouM/Xb3aNnefdmI/AAAAAAAAj1k/qXFFpj2LiwQiW2nsxtr35-AMpg9y6m3mwCLcBGAsYHQ/s320/google_rangoli.jpg&quot; width=&quot;153&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Good News, Google just extended their scheme till 11th November 2019 for those who are yet to win assured reward of 251 INR by collecting all 5 gems.&lt;br /&gt;&lt;br /&gt;But let me tell you, you might be doing it wrong, which might lower your probability of winning the most scantiest Rangoli.&lt;br /&gt;&lt;br /&gt;Check the below steps if you have missed the clear instructions by google which ensures a good chance of winning a treasured Rangoli on any rainy day.&lt;br /&gt;&lt;br /&gt;Follow the below steps:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Method 1:&lt;br /&gt;&lt;h2 style=&quot;background-color: white; color: #202124; font-family: &amp;quot;Google Sans&amp;quot;, Roboto, sans-serif; font-size: 1.5rem; font-weight: 400; line-height: 2rem; margin: 2rem 0px 0.5rem;&quot;&gt;Do a DTH Recharge&lt;/h2&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;RqBzHd&quot; style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 16px; padding: 0px 20px;&quot;&gt;&lt;ol class=&quot;X5LH0c&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Click on start a&amp;nbsp;&lt;b&gt;payment&lt;/b&gt;&amp;nbsp;&amp;amp; select DTH&amp;nbsp;&lt;b&gt;payment&lt;/b&gt;.&lt;/li&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Select your&amp;nbsp;&lt;b&gt;DTH&lt;/b&gt;&amp;nbsp;operator.&lt;/li&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Enter your customer ID or mobile number.&lt;/li&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Enter the amount.&lt;/li&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Proceed to&amp;nbsp;&lt;b&gt;Payment&lt;/b&gt;.&lt;/li&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;You&#39;ve earned a scratch Card and if lucky then Rangoli or Flower Gem.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Method 2:&lt;br /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: &amp;quot;Google Sans&amp;quot;, Roboto, sans-serif; font-size: 1.5rem;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: &amp;quot;Google Sans&amp;quot;, Roboto, sans-serif; font-size: 1.5rem;&quot;&gt;Pay an Electricity bill&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;RqBzHd&quot; style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 16px; padding: 0px 20px;&quot;&gt;&lt;ol class=&quot;X5LH0c&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; text-align: left;&quot;&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Click on start a&amp;nbsp;&lt;b&gt;payment&lt;/b&gt;&amp;nbsp;&amp;amp; select Electricity&amp;nbsp;&lt;b&gt;payment&lt;/b&gt;.&lt;/li&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Type in the name of a biller.&lt;/li&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;From the search results, tap the name of the biller&lt;span style=&quot;color: #3c4043; font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;img alt=&quot;and then&quot; height=&quot;18&quot; src=&quot;https://lh3.googleusercontent.com/V4BkhmsXF3x2aXZBf_t6tWCaHbxK6ZcARN7s0gTt-voI9WcIkhe9R36jyDlD9hJZZw=w13-h18&quot; style=&quot;color: #3c4043; font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; max-width: 100%; vertical-align: middle;&quot; title=&quot;and then&quot; width=&quot;13&quot; /&gt;&lt;span style=&quot;color: #3c4043; font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3c4043; font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px;&quot;&gt;Make payment&lt;/span&gt;&lt;span style=&quot;color: #3c4043; font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px;&quot;&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Select an account.&lt;/li&gt;&lt;ol&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;You&#39;ll see one of the following:&lt;/li&gt;&lt;ol&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Pay a custom amount: Tap&amp;nbsp;Make Payment&amp;nbsp;and enter the amount that you’d like to pay.&lt;/li&gt;&lt;li class=&quot;TrT0Xe&quot; style=&quot;border: 0px; list-style: inherit; margin: 0px 0px 4px; padding: 0px;&quot;&gt;Pay an available bill: On the bill, tap&amp;nbsp;Pay Bill.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;li&gt;Follow the instructions on the screen.&lt;/li&gt;&lt;li&gt;When done, view the bill to confirm that the payment was successful.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #3c4043; font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 0.75rem; margin-top: 0.25rem;&quot;&gt;Note: It usually takes up to 3 business days for payments to show up in your account.&lt;/div&gt;&lt;div style=&quot;background-color: white; margin-bottom: 0.75rem; margin-top: 0.25rem;&quot;&gt;&lt;span style=&quot;color: #3c4043; font-family: Roboto, Helvetica Neue, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;7.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: arial, sans-serif; font-size: 16px;&quot;&gt;You&#39;ve earned a scratch Card and if lucky then Rangoli or Flower Gem.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://beautifultcode.blogspot.com/feeds/5070754951406235811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://beautifultcode.blogspot.com/2019/11/google-pay-india-diwali-offers-how-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8187882467042826005/posts/default/5070754951406235811'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8187882467042826005/posts/default/5070754951406235811'/><link rel='alternate' type='text/html' href='https://beautifultcode.blogspot.com/2019/11/google-pay-india-diwali-offers-how-to.html' title='Google Pay India Diwali Offers- How to get a rangoli ? '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-GUWxvw-FouM/Xb3aNnefdmI/AAAAAAAAj1k/qXFFpj2LiwQiW2nsxtr35-AMpg9y6m3mwCLcBGAsYHQ/s72-c/google_rangoli.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8187882467042826005.post-4630994262366155884</id><published>2019-06-28T12:51:00.002-07:00</published><updated>2019-06-28T12:53:54.881-07:00</updated><title type='text'>How to export a Mysql table to a csv file? -BASH - Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;We are going over MySQL which is a lot more widely used especially for websites and&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;stuff, but let&#39;s say you, you had a MySQL database and you wanted to put that into a CSV format for whatever reason for importing into another program that doesn&#39;t accept my SQL just for a simple&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;text backup or for whatever reason that may be.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Someone you&#39;re working with on a MySQL database someone else created and you&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;decide, you know what &quot;I just want to is stick with CSV&quot;,&amp;nbsp; you can export it to CSV&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;and that&#39;s what we&#39;re gonna do today.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;There are two wonderful method to do this.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Using MYSQLDUMP&lt;/li&gt;&lt;li&gt;Using mysql OUTFILE query&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;b&gt;1) Using MYSQLDUMP&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; You can dump your file into any format you want, but here we are going to focus on CSV format.&lt;/div&gt;&lt;div&gt;&lt;div&gt;Your system should be installed already with MySql, and i am using a linux machine.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-Mb7Dd6wSlGQ/XRZpYWybwLI/AAAAAAAAiEU/zCJZSc2kL4QyEv0JFjj2M8nQO5qB4JN7QCLcBGAs/s1600/mysqldump.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;64&quot; data-original-width=&quot;1264&quot; height=&quot;32&quot; src=&quot;https://1.bp.blogspot.com/-Mb7Dd6wSlGQ/XRZpYWybwLI/AAAAAAAAiEU/zCJZSc2kL4QyEv0JFjj2M8nQO5qB4JN7QCLcBGAs/s640/mysqldump.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Where, -u = username&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-p = password&lt;/div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-T = write command&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/tmp/ = folder to write in&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;filmsbykris = database name&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;users = table name we want to import&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--fields-terminated-by =&amp;nbsp; character you want to separate your fields by so traditionally it&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;would be a comma&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --fields-enclosed-by=&amp;nbsp; for appropriate data handling we can also mention this&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Result:&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/--8GflW9Ko_M/XRZpnwhjaGI/AAAAAAAAiEY/pmOeAdgegHoHJSCTyF4n2A1q5idHNU76wCLcBGAs/s1600/result.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;167&quot; data-original-width=&quot;582&quot; height=&quot;113&quot; src=&quot;https://1.bp.blogspot.com/--8GflW9Ko_M/XRZpnwhjaGI/AAAAAAAAiEY/pmOeAdgegHoHJSCTyF4n2A1q5idHNU76wCLcBGAs/s400/result.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;As you can see, on printing the standard output of the file we just made,&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;We can deduce that it seems pretty much normal and executable now in csv readable foramat.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;2) Using OUTFILE sql query.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now coming to the traditional sql query method:&lt;/div&gt;&lt;div&gt;One has to first login to the database of the table, they need to import as a csv.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-xjtfsTGoAJQ/XRZt2kOwcFI/AAAAAAAAiE0/iI7aULjoqnkgvzv8NFES-FcrN-RJqIzqgCLcBGAs/s1600/login.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;35&quot; data-original-width=&quot;441&quot; src=&quot;https://1.bp.blogspot.com/-xjtfsTGoAJQ/XRZt2kOwcFI/AAAAAAAAiE0/iI7aULjoqnkgvzv8NFES-FcrN-RJqIzqgCLcBGAs/s1600/login.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;i&gt;Log in to mysql&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-0iVaWuowvYE/XRZtumb_4HI/AAAAAAAAiEo/HSceBk54OGMWE-0uN0Zlszj9VQ-uBnv2gCLcBGAs/s1600/select_database.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: right;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;71&quot; data-original-width=&quot;239&quot; src=&quot;https://1.bp.blogspot.com/-0iVaWuowvYE/XRZtumb_4HI/AAAAAAAAiEo/HSceBk54OGMWE-0uN0Zlszj9VQ-uBnv2gCLcBGAs/s1600/select_database.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;i&gt;select the database you want to copy data from&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-mf3sQwVVM4Y/XRZtugHooSI/AAAAAAAAiEs/WBtcXIMmfA0B6wI26NezIt4KdfzVos_zACLcBGAs/s1600/query.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;41&quot; data-original-width=&quot;1024&quot; src=&quot;https://1.bp.blogspot.com/-mf3sQwVVM4Y/XRZtugHooSI/AAAAAAAAiEs/WBtcXIMmfA0B6wI26NezIt4KdfzVos_zACLcBGAs/s1600/query.PNG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;i&gt;run the query to dump data into required folder&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Query bifurcation:&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Select *&amp;nbsp; = select all the columns&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;INTO OUTFILE = specify the dumping folder, with the file name.&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;fields escaped by = to determine new cell&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;fields terminated by = to determine the line break&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://beautifultcode.blogspot.com/feeds/4630994262366155884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://beautifultcode.blogspot.com/2019/06/how-to-export-mysql-table-to-csv-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8187882467042826005/posts/default/4630994262366155884'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8187882467042826005/posts/default/4630994262366155884'/><link rel='alternate' type='text/html' href='https://beautifultcode.blogspot.com/2019/06/how-to-export-mysql-table-to-csv-file.html' title='How to export a Mysql table to a csv file? -BASH - Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-Mb7Dd6wSlGQ/XRZpYWybwLI/AAAAAAAAiEU/zCJZSc2kL4QyEv0JFjj2M8nQO5qB4JN7QCLcBGAs/s72-c/mysqldump.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8187882467042826005.post-9122077244820366643</id><published>2019-06-27T13:43:00.002-07:00</published><updated>2019-06-27T13:43:30.739-07:00</updated><title type='text'>How to access a Protected Variable and Function out of the Parent Class in Object Oriented Programming? </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;To access a Protected Variable or a Function out of the Parent Class, there is a small workaround one has to do to access it seamlessly.&lt;br /&gt;&lt;br /&gt;Firstly, what is a Protected Property or a Method?&lt;br /&gt;A protected method is a method which can only be accessed inside a class or an inherited class.&lt;br /&gt;&lt;br /&gt;So the Question is how can we access these Properties and Methods outside the class?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;In order to access it, outside that class, one must call another public method which directly calls required the protected method.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Three easy steps to follow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;FInd any Protected Method you need to call outside that class.&lt;/li&gt;&lt;li&gt;Define a Public Method which calls the same Protected Method.&lt;/li&gt;&lt;li&gt;Create an instance of the same class and call the Public method.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thankyou!&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://beautifultcode.blogspot.com/feeds/9122077244820366643/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://beautifultcode.blogspot.com/2019/06/how-to-access-protected-variable-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8187882467042826005/posts/default/9122077244820366643'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8187882467042826005/posts/default/9122077244820366643'/><link rel='alternate' type='text/html' href='https://beautifultcode.blogspot.com/2019/06/how-to-access-protected-variable-and.html' title='How to access a Protected Variable and Function out of the Parent Class in Object Oriented Programming? '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>