<?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-5057972440838987204</id><updated>2026-07-26T20:51:26.780+05:30</updated><category term="Mariadb/MYSQL"/><category term="Oracle RAC"/><category term="Oracle DBA General"/><category term="AWS"/><category term="EBS"/><category term="AWS RDS"/><category term="Azure"/><category term="Devops"/><category term="10"/><category term="Azure SQL Server"/><category term="Backup and Recovery"/><category term="Docker"/><category term="Jenkins"/><category term="Mariadb Galera Cluster"/><category term="MongoDB"/><category term="Oracle 11g"/><category term="Oracle Grid Control"/><category term="Oracle RAC ASM"/><category term="Oracle Rac Jumbo frames"/><category term="RMAN"/><category term="Unix"/><category term="shell script"/><title type='text'>Day to Day DBA and cloud Learning</title><subtitle type='html'>just a small attempt to share what i have learned from experiences</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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>57</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-364595468667447219</id><published>2021-11-20T04:00:00.002+05:30</published><updated>2021-11-20T04:07:06.626+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>RDS Mysql start and stop replica</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;font-size: large;&quot;&gt;Mysql commands to stop and start the replica are different from the normal mysql replica command,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;To stop RDS Mysql replica use the below command:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;CALL mysql.rds_stop_replication;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfYC4yVMqvl3JRWXcjfg4X6hCQOzjjqAnGI50D7LalFkmsCgFS4MHAvkVhU3uTMXkIsDD-iHDBmPiGws5e9lxZezeyfI6TBEiCFQXkrpCRB7-_O-OP1LT-s-1xbUr41q7XGBx9C_CMepHG/s688/Screenshot+2021-11-19+at+22.20.31.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;688&quot; data-original-width=&quot;622&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfYC4yVMqvl3JRWXcjfg4X6hCQOzjjqAnGI50D7LalFkmsCgFS4MHAvkVhU3uTMXkIsDD-iHDBmPiGws5e9lxZezeyfI6TBEiCFQXkrpCRB7-_O-OP1LT-s-1xbUr41q7XGBx9C_CMepHG/s320/Screenshot+2021-11-19+at+22.20.31.png&quot; width=&quot;289&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Start RDS Replication :&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;CALL mysql.rds_start_replication;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Kill Running Processes:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;CALL mysql.rds_kill(processID);&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijfJWVGx0Hn5VpmLyokaPLzlcJ4BXrGeU4zamhVqxjRUD2FsO8lTdQUnzObtfoIMc5Tebazpc93T9hr7e8dy3GkqVwrg32ZwsUDcIX8MlyR3ZvAdni9R14sYMhqYw0l08loxLEKe_YxUM2/s648/Screenshot+2021-11-19+at+22.27.32.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;160&quot; data-original-width=&quot;648&quot; height=&quot;79&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijfJWVGx0Hn5VpmLyokaPLzlcJ4BXrGeU4zamhVqxjRUD2FsO8lTdQUnzObtfoIMc5Tebazpc93T9hr7e8dy3GkqVwrg32ZwsUDcIX8MlyR3ZvAdni9R14sYMhqYw0l08loxLEKe_YxUM2/s320/Screenshot+2021-11-19+at+22.27.32.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Skip Replication Error :&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;CALL mysql.rds_skip_repl_error;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Check number of hours binary logs are retained&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;CALL mysql.rds_show_configuration;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg8BwALFBw0br-kS4Tbr0abXaTSn3Z0IP8bRmP9lYsRXELl8GOnUjLNyZ8nZ7CgU8TnIUtz7QWs30LZIs6AVaJxinCGbVI9zqZLmW4DOZtroPFVPuq0OCugxyLUYKo7j_zKMM_p5tD-DXJ/s2024/Screenshot+2021-11-19+at+22.31.36.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;438&quot; data-original-width=&quot;2024&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg8BwALFBw0br-kS4Tbr0abXaTSn3Z0IP8bRmP9lYsRXELl8GOnUjLNyZ8nZ7CgU8TnIUtz7QWs30LZIs6AVaJxinCGbVI9zqZLmW4DOZtroPFVPuq0OCugxyLUYKo7j_zKMM_p5tD-DXJ/w661-h142/Screenshot+2021-11-19+at+22.31.36.png&quot; width=&quot;661&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Set retention for binary logs:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;CALL mysql.rds_set_configuration(name,value);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbQdDW7JTaO18SvPTRNjXA3A1u1-wAkkMVstWscIIcsG8fXqk_PTgp9ZUER5k2whw-MNfPiIrid2jZUOdGapiX9w-qdBJuHZrmwqOXuNaL3TlMg-tWMUsJ_zZOR-nWKYRIEOZdoFCIr3Uo/s2042/Screenshot+2021-11-19+at+22.35.19.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;498&quot; data-original-width=&quot;2042&quot; height=&quot;158&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbQdDW7JTaO18SvPTRNjXA3A1u1-wAkkMVstWscIIcsG8fXqk_PTgp9ZUER5k2whw-MNfPiIrid2jZUOdGapiX9w-qdBJuHZrmwqOXuNaL3TlMg-tWMUsJ_zZOR-nWKYRIEOZdoFCIr3Uo/w648-h158/Screenshot+2021-11-19+at+22.35.19.png&quot; width=&quot;648&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/364595468667447219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2021/11/rds-mysql-start-and-stop-replica.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/364595468667447219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/364595468667447219'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2021/11/rds-mysql-start-and-stop-replica.html' title='RDS Mysql start and stop replica'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfYC4yVMqvl3JRWXcjfg4X6hCQOzjjqAnGI50D7LalFkmsCgFS4MHAvkVhU3uTMXkIsDD-iHDBmPiGws5e9lxZezeyfI6TBEiCFQXkrpCRB7-_O-OP1LT-s-1xbUr41q7XGBx9C_CMepHG/s72-c/Screenshot+2021-11-19+at+22.20.31.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-6821462232671632624</id><published>2021-11-20T03:43:00.002+05:30</published><updated>2021-11-20T03:43:06.408+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Enadble Read_only  RDS Mysql</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;In a mysql replica , when there is a need to enable slave as Read only so that no user can modify data, this is done by updating parameter read_only to On.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg4p3OS_jxn9aI64PBiJvEX84VqWnWMHJhSVD3WoP-4y5WWctLio8_Vl5cR2rfivtqCm4SME3eg4I6BeNzH8yDruI7q2NPIxE0t3VsjDbL5Nmf2bTEbzh1ubzUqb43Qx8vtOzsXEYKo4CP/s602/Screenshot+2021-11-19+at+22.05.58.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;256&quot; data-original-width=&quot;602&quot; height=&quot;168&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg4p3OS_jxn9aI64PBiJvEX84VqWnWMHJhSVD3WoP-4y5WWctLio8_Vl5cR2rfivtqCm4SME3eg4I6BeNzH8yDruI7q2NPIxE0t3VsjDbL5Nmf2bTEbzh1ubzUqb43Qx8vtOzsXEYKo4CP/w395-h168/Screenshot+2021-11-19+at+22.05.58.png&quot; width=&quot;395&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;However when we try to enables the same in RDS from the command line this is the error:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIy_K8Dm11B2Y7pR2hYoz2HFV79KUancKh2joeHBDEXWFrl4xirmUVlvHNClmUNVOOY_sbueDu5infk9S8Qt90f6VpwKVT4v0wggYJPlHOXOcgj2_sjpCDbNlrN2ibkRDC-JseC2cD2VdC/s1462/Screenshot+2021-11-19+at+22.07.38.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;374&quot; data-original-width=&quot;1462&quot; height=&quot;147&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIy_K8Dm11B2Y7pR2hYoz2HFV79KUancKh2joeHBDEXWFrl4xirmUVlvHNClmUNVOOY_sbueDu5infk9S8Qt90f6VpwKVT4v0wggYJPlHOXOcgj2_sjpCDbNlrN2ibkRDC-JseC2cD2VdC/w573-h147/Screenshot+2021-11-19+at+22.07.38.png&quot; width=&quot;573&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;To enable Read_only mode in an RDS replica, we need to change the db parameter group as shown below. Change this parameter in your PG to enable read_only mode (the below one is default PG and hence won&#39;t change).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRKc1WhHoxC91msDvBMIRqeYi2NkHYw4ALEJ2WrWT0XL6hJsiFQDgU60CW-GSA6Bztmh-zK38Qby7y0G0MKuuUe3bcnuJtC5rITKM7uKJVmZngkX18AuP0TOwZPJhQuOht3Tqp7gWcY6Q1/s2048/Screenshot+2021-11-19+at+22.09.52.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;1032&quot; data-original-width=&quot;2048&quot; height=&quot;279&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRKc1WhHoxC91msDvBMIRqeYi2NkHYw4ALEJ2WrWT0XL6hJsiFQDgU60CW-GSA6Bztmh-zK38Qby7y0G0MKuuUe3bcnuJtC5rITKM7uKJVmZngkX18AuP0TOwZPJhQuOht3Tqp7gWcY6Q1/w555-h279/Screenshot+2021-11-19+at+22.09.52.png&quot; width=&quot;555&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Post making the changes the Replica should be in Read only mode&lt;/span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/6821462232671632624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2021/11/enadble-readonly-rds-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/6821462232671632624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/6821462232671632624'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2021/11/enadble-readonly-rds-mysql.html' title='Enadble Read_only  RDS Mysql'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg4p3OS_jxn9aI64PBiJvEX84VqWnWMHJhSVD3WoP-4y5WWctLio8_Vl5cR2rfivtqCm4SME3eg4I6BeNzH8yDruI7q2NPIxE0t3VsjDbL5Nmf2bTEbzh1ubzUqb43Qx8vtOzsXEYKo4CP/s72-w395-h168-c/Screenshot+2021-11-19+at+22.05.58.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-1013952360939154819</id><published>2021-10-27T03:55:00.006+05:30</published><updated>2021-11-05T01:59:41.329+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Orchestrator mysql setup</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;font-size: medium;&quot;&gt;I installed&amp;nbsp;&lt;span face=&quot;proxima-nova, &amp;quot;Open Sans&amp;quot;, verdana, sans-serif&quot; style=&quot;letter-spacing: -0.27px;&quot;&gt;Orchestrator on ec2 instances for monitoring the DB replication and found it a wonderful tool for managing replication/failover. In my test setup i have&amp;nbsp; 1 master mysql server --&amp;gt; 2nd replica --&amp;gt; 3rd replica (chained replication). I installed&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;letter-spacing: -0.27px;&quot;&gt;Orchestrator on 3rd replica.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;proxima-nova, &amp;quot;Open Sans&amp;quot;, verdana, sans-serif&quot; style=&quot;font-size: medium; letter-spacing: -0.27px;&quot;&gt;Below are the steps for installation:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;proxima-nova, Open Sans, verdana, sans-serif&quot;&gt;&lt;span style=&quot;font-size: medium; letter-spacing: -0.27px;&quot;&gt;jq is required for installation hence we need to install that as the first step:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;proxima-nova, &amp;quot;Open Sans&amp;quot;, verdana, sans-serif&quot; style=&quot;font-size: medium; letter-spacing: -0.27px;&quot;&gt;1. yum install epel-release&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;proxima-nova, &amp;quot;Open Sans&amp;quot;, verdana, sans-serif&quot; style=&quot;font-size: medium; letter-spacing: -0.27px;&quot;&gt;2. yum install jq&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;proxima-nova, &amp;quot;Open Sans&amp;quot;, verdana, sans-serif&quot; style=&quot;font-size: medium; letter-spacing: -0.27px;&quot;&gt;Install orchestrator from github as per the OS platform&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3. yum install&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;;&quot;&gt;https://github.com/github/orchestrator/releases/download/v3.0.11/orchestrator-3.0.11-1.x86_64.rpm&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;The installed files consist of an example file with basic configuration :&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;;&quot;&gt;orchestrator.conf.json.sample that can be coped to /etc/orchestrator.conf.json and then we edit this file.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;As per the official documentation i made these changes..&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&quot;MySQLOrchestratorHost&quot;: &quot;127.0.0.1&quot;,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&quot;MySQLOrchestratorPort&quot;: 3306,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&quot;MySQLOrchestratorDatabase&quot;: &quot;orchestrator&quot;,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&quot;MySQLOrchestratorUser&quot;: &quot;orchestrator&quot;,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&quot;MySQLOrchestratorPassword&quot;: &quot;orch_backend_password&quot;,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;...&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Then we need to create new user on master server to detect replication topology:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;GRANT SUPER, PROCESS, REPLICATION SLAVE, RELOAD ON *.* TO &#39;orchestrator&#39;@&#39;%&#39; IDENTIFIED BY &#39;orch_topology_password&#39;;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;then edit the file&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;;&quot;&gt;/etc/orchestrator.conf.json and add the below:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&quot;MySQLTopologyUser&quot;: &quot;orchestrator&quot;,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&quot;MySQLTopologyPassword&quot;: &quot;orch_topology_password&quot;,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Then start the service:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;service orchestrator start&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Once service is started we can access using ip : https://10.0.0.1:3000/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8i-8tvVnYhIPlYcOgr6rUhrNo0LRq3CAuV4KRzft6wGxC4pxK5-UWQTLoiUMtyC_Cc6vTiR93OiGHuNQJCA4Ia2_NDPa0V_IXWsvvtER4ML3HsAcijoXOis7Tm6yDw3GL4znF-DXnJo36/s1660/Screenshot+2021-10-26+at+23.20.38.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;586&quot; data-original-width=&quot;1660&quot; height=&quot;214&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8i-8tvVnYhIPlYcOgr6rUhrNo0LRq3CAuV4KRzft6wGxC4pxK5-UWQTLoiUMtyC_Cc6vTiR93OiGHuNQJCA4Ia2_NDPa0V_IXWsvvtER4ML3HsAcijoXOis7Tm6yDw3GL4znF-DXnJo36/w605-h214/Screenshot+2021-10-26+at+23.20.38.png&quot; width=&quot;605&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;In My setup i initiated a failover using orchestrator from Master1 to Replica1 , hence the Master1 server is now an independent mysql server. Post failover Replica1 became master server and Replica 2 is the slave server. To initiate failover we need to make a few changes in the config file, that i will mention in another post. Am still exploring this tool and the capabilities&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;After sometime i created the original topology again , well i added the Master1 DB server back as the master and pointed replica2 to use master1 and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;orchestrator was quick to detect the change , below is the updated topology&amp;nbsp;post the change.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNyNv8Up-g9iCbtoDXXeup1ScE_UPahyK2DgVgoD6s62riFb-jLudiP7puuuwRn3iE5nlmY-anyELYPjgTNVROycTmmA6LecWdneycCfYMxYqy-Wmkjv3mHrcGzUGg6fYsrrR0VI3lArUt/s2058/Screenshot+2021-10-26+at+23.50.53.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;578&quot; data-original-width=&quot;2058&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNyNv8Up-g9iCbtoDXXeup1ScE_UPahyK2DgVgoD6s62riFb-jLudiP7puuuwRn3iE5nlmY-anyELYPjgTNVROycTmmA6LecWdneycCfYMxYqy-Wmkjv3mHrcGzUGg6fYsrrR0VI3lArUt/w640-h180/Screenshot+2021-10-26+at+23.50.53.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&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;p&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/1013952360939154819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2021/10/orchestrator-installation-and-basic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/1013952360939154819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/1013952360939154819'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2021/10/orchestrator-installation-and-basic.html' title='Orchestrator mysql setup'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8i-8tvVnYhIPlYcOgr6rUhrNo0LRq3CAuV4KRzft6wGxC4pxK5-UWQTLoiUMtyC_Cc6vTiR93OiGHuNQJCA4Ia2_NDPa0V_IXWsvvtER4ML3HsAcijoXOis7Tm6yDw3GL4znF-DXnJo36/s72-w605-h214-c/Screenshot+2021-10-26+at+23.20.38.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-5566187530028776547</id><published>2021-10-22T01:01:00.001+05:30</published><updated>2021-10-22T01:01:15.897+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Percona Mysql 5.6.* Minor version upgrade</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;font-size: large;&quot;&gt;Today i upgraded percona mysql version 5.6.46-86.2 to 5.6.51-91.0.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;This was a minor version upgrade for testing purposes and below are the steps i have used on Centos 7.7&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Before starting ensure you have a backup of database and backup of my.cnf (db config file).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Install Versions 5.6.46-86.2 on Centos&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Before starting install percona repo using yum:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 0px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;$yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;To test the repo:&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 0px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;yum list &lt;span class=&quot;p&quot; style=&quot;box-sizing: border-box;&quot;&gt;|&lt;/span&gt; grep percona&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Install Percona Mysql server based on your version requirement as below using yum:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1. yum -q install Percona-Server-server-56-5.6.46-rel86.2.1.el7 Percona-Server-client-56-5.6.46-rel86.2.1.el7 Percona-Server-shared-56-5.6.46-rel86.2.1.el7&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;the above should run nicely on the server and install the server as per the default setup on centos.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Start the database using service mysqld start&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2. Login to the server and create a few database&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;mysql &amp;gt; create database test1;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;mysql&amp;gt; create database test2;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;mysql&amp;gt; create database test3;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;3. Remove the above installed version using :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; yum remove Percona-Server* (this should remove installed version and not the db related files)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;4. Install the latest version or required version using below :&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; yum install Percona-Server-server-56&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;After successful completion start mysqld service : service mysqld start&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;This should bring up the service and you should be able to login&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;mysql &amp;gt; select @@version:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;5.6.51-91.0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;mysql &amp;gt; show databases;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; information_schema&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; mysql&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; performance_schema&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; test1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; test 2&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; test3&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;We have successfully completed minor database version upgrade with this.&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/5566187530028776547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2021/10/percona-mysql-56-minor-version-upgrade.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5566187530028776547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5566187530028776547'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2021/10/percona-mysql-56-minor-version-upgrade.html' title='Percona Mysql 5.6.* Minor version upgrade'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-5288457644703394149</id><published>2021-10-15T21:38:00.009+05:30</published><updated>2022-07-27T15:36:15.711+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="AWS RDS"/><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Creating Mysql RDS instance using Terraform </title><content type='html'>&lt;p&gt;&amp;nbsp;I have been working on terraform for sometime now and find it very useful , We can create most of the cloud infrastructure using terraform including RDS-MYSQL instances.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Today i will be posting a simple code to create a MYSQL RDS instance with basic configuration for a beginner.&lt;/p&gt;&lt;p&gt;Create a main.tf file and add the below values in your testing environment. Am assuming AWS access keys are already present in the laptop that is connecting to the AWS environment for access , otherwise terraform will be unable to communicate with AWS.&lt;/p&gt;&lt;p&gt;-------------------------------------------------------&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;terraform {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;required_providers {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;aws = {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;source = &quot;hashicorp/aws&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; version = &quot;~&amp;gt; 3.27&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}}}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;provider &quot;aws&quot; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp; profile = &quot;default&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;region = &quot;specify region&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;resource &quot;aws_db_parameter_group&quot; &quot;default&quot; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;name = &quot; testnew&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;family = &quot;mysql5.7&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;resource &quot;aws_db_instance&quot; &quot;default&quot; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;identifier =&amp;nbsp; &quot;testdb&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;allocated_storage = 10&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;engine = &quot;mysql&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;engine_version = &quot;5.7&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;instance_class = &quot;db.t3.micro&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;name = &quot;mydb&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;username = &quot;testuser&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;password = &quot;Specify password&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;parameter_group_name = &quot;newpggroup&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;once the above code is complete, run a terraform init, terraform plan to validate the plan and finally terraform apply..&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Post this you should see an RDS instance created based on the inputs provided above&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;This is a very basic example for someone to start with terraform and we can provide many other parameters in the above code. Do refer to terraform documentation for the same&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/5288457644703394149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2021/10/create-mysql-rds-using-terraform.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5288457644703394149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5288457644703394149'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2021/10/create-mysql-rds-using-terraform.html' title='Creating Mysql RDS instance using Terraform '/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-1911100563705416725</id><published>2021-10-10T19:00:00.006+05:30</published><updated>2021-10-10T19:00:48.660+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Log_slave_updates Mysql </title><content type='html'>&lt;p&gt;&amp;nbsp; Today we will discuss about a parameter related to mysql Replication - Log_slave_updates.&lt;/p&gt;&lt;p&gt;This parameter is useful when configuring chain replication e.g. A--&amp;gt;B--&amp;gt;C . Here A is the master server and B is a replica of A and B further replicates to Mysql Replica C. If we don&#39;t enable this parameter on Replica B then updates coming to B will not be replicated to Replica C.&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;&amp;quot;Open Sans&amp;quot;, Arial, Helvetica, sans-serif&quot; style=&quot;background-color: white; color: #555555; font-size: 14.256px;&quot;&gt;Normally, a replica does not log to its own binary log any updates that are received from a source server. Enabling this variable causes the replica to write the updates performed by its replication SQL thread to its own binary log.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;We will look at the process of updating this parameter on Replica server B:&lt;/p&gt;&lt;p&gt;mysql &amp;gt; show variables like &quot;%log_slave%&quot;;&lt;/p&gt;&lt;p&gt;Variable_name&amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; Value&lt;/span&gt;&lt;/p&gt;&lt;p&gt;---------------------&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; ------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;log_slave_updates&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;OFF&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Now we cannot change this parameter dynamically and changes need to made to my.cnf file followed by mysql restart. in my case the files is /etc/my.cnf.&lt;/p&gt;&lt;p&gt;I added the line as below and restarted mysql replica:&amp;nbsp;&lt;/p&gt;&lt;p&gt;log_slave_updates = ON;&lt;/p&gt;&lt;p&gt;Post that again checked the status of variable on the replica Server B&lt;/p&gt;&lt;p&gt;mysql &amp;gt; show variables like &quot;%log_slave%&quot;;&lt;/p&gt;&lt;p&gt;Variable_name&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; Value&lt;/p&gt;&lt;p&gt;---------------------&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; ------&lt;/p&gt;&lt;p&gt;log_slave_updates&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;ON&lt;/p&gt;&lt;div&gt;Now any updates received by Replica B will be reflecting in Replica C as well.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/1911100563705416725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2021/10/logslaveupdates-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/1911100563705416725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/1911100563705416725'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2021/10/logslaveupdates-mysql.html' title='Log_slave_updates Mysql '/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-2137937026949324386</id><published>2020-11-11T04:47:00.000+05:30</published><updated>2020-11-11T04:47:00.457+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><title type='text'>Install AWS CLI on Centos</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;font-size: large;&quot;&gt;Today we will look at installing AWS CLI on Centos, i installed on one of the EC2 instances recently and will share the steps as below:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1. Download AWS CLI:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;url &quot;https://s3.amazonaws.com/aws-cli/awscli-bundle.zip&quot; -o &quot;awscli-bundle.zip&quot;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2. Once downloaded, we need to install the zip, but first need to unzip. IN my case unzip was not installed on the host , hence i have downloaded and installed as below:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;yum makecache&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;yum install unzip&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;3. Once done use unzip to unpack the downloaded bundle:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;unzip awscli-bundle.zip&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;4. Next step is to install :&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;./awscli-bundle/install -b ~/bin/aws&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;........&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;You can now run: /root/bin/aws --version&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Refer AWS documentation as well to get further clarity on the steps/versions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/2137937026949324386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/11/install-aws-cli-on-centos.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/2137937026949324386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/2137937026949324386'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/11/install-aws-cli-on-centos.html' title='Install AWS CLI on Centos'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-3245054258867700482</id><published>2020-11-04T04:20:00.003+05:30</published><updated>2020-11-04T04:20:29.803+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Install mysql 8.0 on Centos 7</title><content type='html'>&lt;p&gt;&amp;nbsp;Today we will look at installing mysql 8.0 on centos 7, i created a new ec2 instance having centos 7.0 and then installed mysql 8.0.&lt;/p&gt;&lt;p&gt;to install mysql 8.0 follow the below steps:&lt;/p&gt;&lt;p&gt;here i have used yum to install 8.0 edition:&lt;/p&gt;&lt;p&gt;1.&amp;nbsp;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;.............&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;...........&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Running transaction&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;Installing : mysql80-community-release-el7-1.noarch &lt;span class=&quot;Apple-converted-space&quot;&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; &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; &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; &lt;/span&gt;1/1&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;Verifying&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;: mysql80-community-release-el7-1.noarch &lt;span class=&quot;Apple-converted-space&quot;&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; &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; &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; &lt;/span&gt;1/1&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 13px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Installed:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;mysql80-community-release.noarch 0:el7-1 &lt;span class=&quot;Apple-converted-space&quot;&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; &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; &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; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 13px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Complete!&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;post this we need to install :&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;user@instance]# sudo yum install mysql-community-server&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Loaded plugins: fastestmirror&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Loading mirror speeds from cached hostfile&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;* base: d36uatko69830t.cloudfront.net&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;* extras: d36uatko69830t.cloudfront.net&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;* updates: d36uatko69830t.cloudfront.net&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;mysql80-community&lt;span class=&quot;Apple-converted-space&quot;&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; &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; &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; &amp;nbsp; &amp;nbsp; &lt;/span&gt;| 2.6 kB&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;00:00:00&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;mysql80-community/x86_64/primary_db&lt;span class=&quot;Apple-converted-space&quot;&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; &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; &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; &lt;/span&gt;| 128 kB&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;00:00:00&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Resolving Dependencies&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;--&amp;gt; Running transaction check&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;....................&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;................&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Installed:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;mysql-community-libs.x86_64 0:8.0.22-1.el7&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;mysql-community-libs-compat.x86_64 0:8.0.22-1.el7&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;mysql-community-server.x86_64 0:8.0.22-1.el7&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 13px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Dependency Installed:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;mysql-community-client.x86_64 0:8.0.22-1.el7 &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;mysql-community-client-plugins.x86_64 0:8.0.22-1.el7 &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;mysql-community-common.x86_64 0:8.0.22-1.el7 &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 13px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Replaced:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;mariadb-libs.x86_64 1:5.5.64-1.el7 &lt;span class=&quot;Apple-converted-space&quot;&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; &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; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 13px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;Complete!&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;user@instance]#&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;systemctl start mysqld&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;this should start mysql service&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;The temporary root password can be found in the mysql log file and that can be used to login to the server.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;however in this version, when we login with the given root password it will ask to reset this using &#39;alter command&#39;.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/3245054258867700482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/11/install-mysql-80-on-centos-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/3245054258867700482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/3245054258867700482'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/11/install-mysql-80-on-centos-7.html' title='Install mysql 8.0 on Centos 7'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-792768558947209612</id><published>2020-10-22T22:55:00.003+05:30</published><updated>2020-10-22T22:55:50.780+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Upgrading Mariadb from 10.1 to 10.3 on Centos</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;To upgrade Maraidb from 10.1 to 10.3 use the steps mentioned on Mariadb Website, i followed the same and was able to successfully upgrade the database without facing any issues.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;I will share below, it is always recommended to go through the official documentation is detail to understand what new features are available post upgrade and what will become obsolete.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;As a first step ensure to have a full DB backup before starting any activity.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;1. Modify the yum repository configuration to point at install 10.3 Version:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;# MariaDB 10.3 CentOS repository list&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;# http://downloads.mariadb.org/mariadb/repositories/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;[mariadb]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;name = MariaDB&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;baseurl = http://yum.mariadb.org/10.3/centos7-amd64&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;gpgcheck=1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;2. Next step is to stop running mariadb Database:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;&amp;nbsp;&lt;b&gt;Systemctl stop Mariadb&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;3. Uninstall the old/existing version from the server:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;&lt;b&gt;yum remove mariadb mariadb-server&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;This should remove existing installed software, it will not remove any of the existing Data related files&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;4. Once above is done install the new Version of Mariadb 10.3 using yum:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;&lt;b&gt;yum install mariadb mariadb-server&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;5. After successful installation edit my.cnf/server.cnf to make any changes as per the setup&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;6. Start Mariadb, it should start and monitor logs for any errors&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;&lt;b&gt;&amp;nbsp;systemctl start mariadb&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;7. The last step is to run mysql_upgrade command from unix prompt, this will ask for root password or a user having equivalent privileges&amp;nbsp;can also be used&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;&lt;code style=&quot;background-color: white; border-radius: 20px; box-sizing: border-box; color: #435363; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;mysql_upgrade&lt;/b&gt;&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333;&quot;&gt;&amp;nbsp;does two things:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol start=&quot;1&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: medium;&quot;&gt;Ensures that the system tables in the&amp;nbsp;&lt;code style=&quot;background-color: inherit; border-radius: 20px; box-sizing: border-box; color: #435363; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;&lt;a href=&quot;https://mariadb.com/kb/en/the-mysql-database-tables/&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #30a0d5; text-decoration-line: none;&quot;&gt;mysq&lt;/a&gt;l&lt;/code&gt;&amp;nbsp;database are fully compatible with the new version.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Does a very quick check of all tables and marks them as compatible with the new version of MariaDB &lt;/span&gt;&lt;span style=&quot;font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;At the end the output will be OK, and we are all done&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/792768558947209612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/10/upgrading-mariadb-from-101-to-103-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/792768558947209612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/792768558947209612'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/10/upgrading-mariadb-from-101-to-103-on.html' title='Upgrading Mariadb from 10.1 to 10.3 on Centos'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-1551098124916293867</id><published>2020-06-04T15:10:00.002+05:30</published><updated>2020-06-04T15:41:55.725+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="AWS RDS"/><title type='text'>Creating MYSQL Database on AWS RDS</title><content type='html'>&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Today i created an MYSQL database on AWS RDS, have been thinking of doing this from quite some time and&amp;nbsp; got sometime to work on this one. RDS is&amp;nbsp; managed service from amazon , means you can create a database from AWS console , but the underlying servers/OS is managed by Amazon.&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Let&#39;s check the&amp;nbsp; the process followed for the same:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Login to AWS console and click on databases:&lt;/font&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9wO5AmKrD5viMgPGQ9Bv5grss0hUINsG8fhWm-2JOmRaAHnB1ZWUedNB0jHso0El9htyr6EoBoVfRtgHuVzB3bCTAt_GK3G8mxyWW0-EH53F3VqxAt6twGv9ReljsHCWw5O3ZAR_MoBtB/s956/MYSQLRDS1.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;391&quot; data-original-width=&quot;956&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9wO5AmKrD5viMgPGQ9Bv5grss0hUINsG8fhWm-2JOmRaAHnB1ZWUedNB0jHso0El9htyr6EoBoVfRtgHuVzB3bCTAt_GK3G8mxyWW0-EH53F3VqxAt6twGv9ReljsHCWw5O3ZAR_MoBtB/w640-h262/MYSQLRDS1.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Click on Create Database and you will see many database, i chose MYSQL for my purpose&lt;/font&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_i3AMIUMOugM9ETiErh5O8KeTVSZtisj2qhcLtmC__sfGKBJ5-0jJYak2SRRbY3xpIwauATRfaNhBpNzjOIjkhGk9vu66uvmjaVAtxmLdPm7WeSMvZH8zQSp6OmVdmeHwqDn5hg8Oj7Y/s787/MYSQLRDS2.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;591&quot; data-original-width=&quot;787&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_i3AMIUMOugM9ETiErh5O8KeTVSZtisj2qhcLtmC__sfGKBJ5-0jJYak2SRRbY3xpIwauATRfaNhBpNzjOIjkhGk9vu66uvmjaVAtxmLdPm7WeSMvZH8zQSp6OmVdmeHwqDn5hg8Oj7Y/w640-h480/MYSQLRDS2.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUOYvJSHrNztnvgT8s48fvAt-qZBcswClyJfUEaHZdgwDIWmmRuM6KraTQ4TUhj262xTh3ItbYwlhdfNF9lzjhdxR2xL3HqR9J_SpJi2eTj51s7cCbzKp-1xKtOYiEVSdLIL1AYUrMWWEi/s744/MYSQLRDS3.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;522&quot; data-original-width=&quot;744&quot; height=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUOYvJSHrNztnvgT8s48fvAt-qZBcswClyJfUEaHZdgwDIWmmRuM6KraTQ4TUhj262xTh3ItbYwlhdfNF9lzjhdxR2xL3HqR9J_SpJi2eTj51s7cCbzKp-1xKtOYiEVSdLIL1AYUrMWWEi/w640-h450/MYSQLRDS3.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Next step is to select template, to chose if this database is for production,dev/test or free tier. based on your selection different features and pricing will be enabled accordingly&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiau2lhwoNKSOSSgOTgsZRVKiMko0fGSpGmF4CjvAaHVfJ_MXKiTsZDMyN8NQ5FVmkvMrf7Xg9BID1WXQEHIi6qTLDUyaSRg8VfuohpSwl_iRxgWE5sEkA3xi-cDi0rgtxdBAVIeT23I3Ly/s769/MYSQLRDS4.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;460&quot; data-original-width=&quot;769&quot; height=&quot;382&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiau2lhwoNKSOSSgOTgsZRVKiMko0fGSpGmF4CjvAaHVfJ_MXKiTsZDMyN8NQ5FVmkvMrf7Xg9BID1WXQEHIi6qTLDUyaSRg8VfuohpSwl_iRxgWE5sEkA3xi-cDi0rgtxdBAVIeT23I3Ly/w640-h382/MYSQLRDS4.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Next choose CPU, memory ,storage required&amp;nbsp;&lt;/font&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn1m64_McZofKNJei-VfsDIIAtFstLkT2yVV-0i6z5ObPc-wTp6_CdCZwG5uiXnPzXeOisAQoxFPwK7fIGWtvStjoSopPHeaiNgjpUrym4_hak_QJ4neuOh5-LLjTT7YXQ1vVt6Dy1zfyl/s734/MYSQLRDS5.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;543&quot; data-original-width=&quot;734&quot; height=&quot;474&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn1m64_McZofKNJei-VfsDIIAtFstLkT2yVV-0i6z5ObPc-wTp6_CdCZwG5uiXnPzXeOisAQoxFPwK7fIGWtvStjoSopPHeaiNgjpUrym4_hak_QJ4neuOh5-LLjTT7YXQ1vVt6Dy1zfyl/w640-h474/MYSQLRDS5.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Next is to select availability and scaling if requires, since i have chosen free tier this option is disabled for me.&lt;/font&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI3UAWZZMfkjSFBIGIpBgQFRA1FDUsO21grhUcC_XcStAijPrhn4bowZgrCX7UJTeQ2JcFM_e_hKHf8h7b2DpyISflk6mZ7aNoADBbzpcbivY1oUacYRAgmQVnLw2FmetAgZ3tnPjj6hdq/s771/MYSQLRDS6.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;525&quot; data-original-width=&quot;771&quot; height=&quot;436&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI3UAWZZMfkjSFBIGIpBgQFRA1FDUsO21grhUcC_XcStAijPrhn4bowZgrCX7UJTeQ2JcFM_e_hKHf8h7b2DpyISflk6mZ7aNoADBbzpcbivY1oUacYRAgmQVnLw2FmetAgZ3tnPjj6hdq/w640-h436/MYSQLRDS6.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Next step it to choose authentication method,i chose password&lt;/font&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibOup2K6Url5E0Gxndfguw06k2g7bXd2GGDeTHxZ6rI16iNG8u977JcOHYCKSxv4fuxUuRFZG_5Cj9qpfU-6s6JkaNVwEzCYX0fvRMtVwemph7zbsWj0rflteb1rl-sI_E_lvEelhQVII-/s751/MYSQLRDS7.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;430&quot; data-original-width=&quot;751&quot; height=&quot;366&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibOup2K6Url5E0Gxndfguw06k2g7bXd2GGDeTHxZ6rI16iNG8u977JcOHYCKSxv4fuxUuRFZG_5Cj9qpfU-6s6JkaNVwEzCYX0fvRMtVwemph7zbsWj0rflteb1rl-sI_E_lvEelhQVII-/w640-h366/MYSQLRDS7.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;while&amp;nbsp; clicking on additional configuration from above, Next steps are to set database name ,parameter group,option group , backups, retention, monitoring, logs enabling..&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPkU7nJkYh-Rv6YRnDsGvapW8CsMWvR2qDVzuEECgHCvYzEzgz8TPAVB6gzzwDsyUxcqOafjlhko_01Lw1nTw0jRO4lUxXGxYwttcIM-4cals0bxeiQAnrkbhEUfnA1D_0nnqjhpCzPTDa/s741/MYSQLRDS8.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;509&quot; data-original-width=&quot;741&quot; height=&quot;440&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPkU7nJkYh-Rv6YRnDsGvapW8CsMWvR2qDVzuEECgHCvYzEzgz8TPAVB6gzzwDsyUxcqOafjlhko_01Lw1nTw0jRO4lUxXGxYwttcIM-4cals0bxeiQAnrkbhEUfnA1D_0nnqjhpCzPTDa/w640-h440/MYSQLRDS8.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOpgNxJG6U8f6-quYu0epOWxIaXepkQ_0mfHZOtwD81ZfWljxdJIOBT_glCZQwxcJw9-61reJetdzjy2VprO87kfDN56fNI4Ck1yVXLzmSXgSOXxfL9EwamMdwBy9UfKDceaJc9T4KFcQj/s753/MYSQLRDS9.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;438&quot; data-original-width=&quot;753&quot; height=&quot;372&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOpgNxJG6U8f6-quYu0epOWxIaXepkQ_0mfHZOtwD81ZfWljxdJIOBT_glCZQwxcJw9-61reJetdzjy2VprO87kfDN56fNI4Ck1yVXLzmSXgSOXxfL9EwamMdwBy9UfKDceaJc9T4KFcQj/w640-h372/MYSQLRDS9.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB3VVzUzhPKbroq_UnlGLbeDb2vzB6TpOW-NdP19RX7jtaBEhM5kMZDJ4YAFbkG079eUv4EN1LnHL1MeKgJuN7jMYeFQNGDC3lh3M4j30QXtZGt9FIv7wVS1HmJ56MBM8xIUnqL8O8g5c-/s722/MYSQLRDS10.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;465&quot; data-original-width=&quot;722&quot; height=&quot;412&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB3VVzUzhPKbroq_UnlGLbeDb2vzB6TpOW-NdP19RX7jtaBEhM5kMZDJ4YAFbkG079eUv4EN1LnHL1MeKgJuN7jMYeFQNGDC3lh3M4j30QXtZGt9FIv7wVS1HmJ56MBM8xIUnqL8O8g5c-/w640-h412/MYSQLRDS10.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg2JkOU_q9bbXHkELapScizMUwhlqdgkdS3IW2JPwDRKP4Ai_6UtaN7HZS4BcYZEhSD3kTof4AgU5vW1ZwXoaXIkB_B0Qzp3FIoCANZ-1CHTv23Ogf7XY8chBsPWu_2AXbDmlonS78_9fM/s765/MYSQLRDS11.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;376&quot; data-original-width=&quot;765&quot; height=&quot;314&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg2JkOU_q9bbXHkELapScizMUwhlqdgkdS3IW2JPwDRKP4Ai_6UtaN7HZS4BcYZEhSD3kTof4AgU5vW1ZwXoaXIkB_B0Qzp3FIoCANZ-1CHTv23Ogf7XY8chBsPWu_2AXbDmlonS78_9fM/w640-h314/MYSQLRDS11.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Once all done click create and you will see DB getting created.&lt;/font&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ww-D_qImlppeX9OuUMRR5Lam8Sq8kfznjoZb6n-J3YaxaisflcTtwJc-GSvNQXQPhU9Mj0dCCOwAOBqvWg2zF9U1_N4cUJAiFPXx8xa1FphVGNIhPHXE9jgloU6Flfkv_sldDG6kOP3A/s957/MYSQLRDS12.JPG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;360&quot; data-original-width=&quot;957&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ww-D_qImlppeX9OuUMRR5Lam8Sq8kfznjoZb6n-J3YaxaisflcTtwJc-GSvNQXQPhU9Mj0dCCOwAOBqvWg2zF9U1_N4cUJAiFPXx8xa1FphVGNIhPHXE9jgloU6Flfkv_sldDG6kOP3A/w640-h240/MYSQLRDS12.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;This will take a few minutes and once done we can connect to RDS using endpoint given on the console:&lt;/font&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;mysql -h mysql.endpoint.&lt;/span&gt;&lt;code class=&quot;replaceable&quot; style=&quot;color: #f5001d; display: inline; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; font-style: italic; line-height: 1.5em; margin: 0px; overflow: auto; padding: 0px; text-align: start; white-space: pre;&quot;&gt;rds.amazonaws.com&lt;/code&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt; -P 3306 -u &lt;/span&gt;&lt;code class=&quot;replaceable&quot; style=&quot;color: #f5001d; display: inline; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; font-style: italic; line-height: 1.5em; margin: 0px; overflow: auto; padding: 0px; text-align: start; white-space: pre;&quot;&gt;mymasteruser&lt;/code&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt; -p&lt;/span&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;After that you will see a prompt like :&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;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;Welcome to the MySQL monitor.  Commands &lt;/span&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #794938; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;end&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #794938; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;with&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt; ; or \g.
Your MySQL connection id is 320
Server version: 5.7.22-log MySQL Community Server (GPL)

Type &#39;&lt;/span&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #794938; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;help&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;;&#39; or &#39;\h&#39; for help. &lt;/span&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #794938; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;Type&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hljs-string&quot; style=&quot;color: #0b6125; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;&#39;\c&#39;&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #794938; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;to&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #794938; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt;clear&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #16191f; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier Prime&amp;quot;, Courier, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.88px; text-align: start; white-space: pre;&quot;&gt; the buffer.

mysql&amp;gt;&lt;/span&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;font face=&quot;courier&quot; size=&quot;4&quot;&gt;And we are Done, Happy Learning as Always&lt;/font&gt;&lt;/i&gt;&lt;/b&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&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/1551098124916293867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/06/creating-mysql-database-on-aws-rds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/1551098124916293867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/1551098124916293867'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/06/creating-mysql-database-on-aws-rds.html' title='Creating MYSQL Database on AWS RDS'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9wO5AmKrD5viMgPGQ9Bv5grss0hUINsG8fhWm-2JOmRaAHnB1ZWUedNB0jHso0El9htyr6EoBoVfRtgHuVzB3bCTAt_GK3G8mxyWW0-EH53F3VqxAt6twGv9ReljsHCWw5O3ZAR_MoBtB/s72-w640-h262-c/MYSQLRDS1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-641953995205346179</id><published>2020-05-30T19:02:00.000+05:30</published><updated>2020-05-30T19:02:31.044+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure SQL Server"/><title type='text'>Creating SQL Server on Azure Cloud</title><content type='html'>&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Today i created an SQL Server Database on Azure cloud, Now a days many organisations are increasingly moving to cloud on various databases. I thought of trying SQL Server today and am still exploring all the options provided in azure for SQL server.&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;I captured some screenshots for the same and can outline the process:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;In azure portal go to Databases and click on SQL Servers, the click create.&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The below screen will appear, Provide the resource group, Database Name and Server name. To create a server click on Create new and a new screen will appear&amp;nbsp;&lt;/font&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYsjJoL8XztNiwDRqi0jmt6XVzWdnV-SuEtmOLt_9qxN9t0Lg81pBkkQUVXSBBBji1NIvlOU_Lu7RFd80QFAffcqyLXIsfqrYSzMx3ek84T782_bT0dAhVP8k8JCcyxDFv0dnSndRdgG1a/&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;444&quot; data-original-width=&quot;725&quot; height=&quot;392&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYsjJoL8XztNiwDRqi0jmt6XVzWdnV-SuEtmOLt_9qxN9t0Lg81pBkkQUVXSBBBji1NIvlOU_Lu7RFd80QFAffcqyLXIsfqrYSzMx3ek84T782_bT0dAhVP8k8JCcyxDFv0dnSndRdgG1a/w640-h392/sqldb1.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;In this screen provide server-name,username,password,location&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8ZhRx39FxwvQjnwRuoLYW7BU714oIWHQFKxFoZaNUgWfSHEC7O8KYcq0oRxcg4YfaXkYhpK7wtO6tpCgj5EPcwQF6CFI_q8YRdenNdefzWsQ-sxXuAkSCxgM7vQN5yOpfaJPOVrBBQHeH/&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;562&quot; data-original-width=&quot;1250&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8ZhRx39FxwvQjnwRuoLYW7BU714oIWHQFKxFoZaNUgWfSHEC7O8KYcq0oRxcg4YfaXkYhpK7wtO6tpCgj5EPcwQF6CFI_q8YRdenNdefzWsQ-sxXuAkSCxgM7vQN5yOpfaJPOVrBBQHeH/w640-h288/sqldb3.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;You will need to check storage/compute option, do click and check how many DTU&#39;s and Disk space is required since you will be charged for the same. I chose a basic one for my testing&amp;nbsp;&lt;/font&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiplzGsYONQ_mYoTEbCazTFAa47u3JHfmbzyGaegGU-TN9h8zg9CE665N680-yveC6Y7Z_ORsPoEQTnJHw1QOoJR-6lk5Wf11K6lkIFDtushFopmnyzZtMRMJPXYlXnSKh3wMcLNL8OjRlk/&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;561&quot; data-original-width=&quot;881&quot; height=&quot;408&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiplzGsYONQ_mYoTEbCazTFAa47u3JHfmbzyGaegGU-TN9h8zg9CE665N680-yveC6Y7Z_ORsPoEQTnJHw1QOoJR-6lk5Wf11K6lkIFDtushFopmnyzZtMRMJPXYlXnSKh3wMcLNL8OjRlk/w640-h408/sqldb2.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Once done next page will be to validate network connectivity, i clicked on public endpoint to allow my machine to access the database (this, myip needs to be configured in firewall setting as well)&amp;nbsp;&lt;/font&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0QnAlnrEUjrQpdZdhUgARtZhNR-_2dN55jVGDiJ7qqkwMu_9kYAFF26K1XhHETKPQc5yLiz7v9Id0TaYOhQxEMRxLQdirmSVJkOeGW0BQenK2xln6C2iBKx7vFqT7qC1TE7iv6pyFJbj3/&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;551&quot; data-original-width=&quot;699&quot; height=&quot;504&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0QnAlnrEUjrQpdZdhUgARtZhNR-_2dN55jVGDiJ7qqkwMu_9kYAFF26K1XhHETKPQc5yLiz7v9Id0TaYOhQxEMRxLQdirmSVJkOeGW0BQenK2xln6C2iBKx7vFqT7qC1TE7iv6pyFJbj3/w640-h504/sqldb4.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Next step is Data source - if you want to create a blank, sample database or import from an existing one. i chose to create sample DB.&lt;/font&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9ndiOqtaD3H9AL0WbhLrg0JqN_3fL9aMkvFVxpTeKyDn9hXAsQvmKeSNhy8b2zKpaiD3t8NBVaAJfscGWuuc6yZakgCPLxG11TGkGr6-VP1kNLvmtkNSMFXv7D0DktWfH6L8CXBs1kl1Y/&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;558&quot; data-original-width=&quot;693&quot; height=&quot;516&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9ndiOqtaD3H9AL0WbhLrg0JqN_3fL9aMkvFVxpTeKyDn9hXAsQvmKeSNhy8b2zKpaiD3t8NBVaAJfscGWuuc6yZakgCPLxG11TGkGr6-VP1kNLvmtkNSMFXv7D0DktWfH6L8CXBs1kl1Y/w640-h516/sqldb5.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;At the end click review and create and the deployment will take place, this takes a few minutes.&lt;/font&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjJ5CkntVltWhnTdsifzLg_CBPzC2vjeYpzK1wSbzrZUFINNaFVmrN44c1-MPcYawqiUOp_2585qbm-q4Cbkj2yvday6QHw5ltcjcv1Zu6pteoKkmt6iGDVyaiaoNUwcDQp3reA0XkgxzU/&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;444&quot; data-original-width=&quot;798&quot; height=&quot;356&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjJ5CkntVltWhnTdsifzLg_CBPzC2vjeYpzK1wSbzrZUFINNaFVmrN44c1-MPcYawqiUOp_2585qbm-q4Cbkj2yvday6QHw5ltcjcv1Zu6pteoKkmt6iGDVyaiaoNUwcDQp3reA0XkgxzU/w640-h356/sqldb6.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Once Done we can connect to your database using query editor and giving username/password that was given during DB Creation.&lt;/font&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm7YUTGQA7H0kbe3V4oEPFVtdx5q-QCAFTzdVJLr9Aluppr7s4KYyo11mEfAA9qlUIVDvlXFySlJaJmTaK4LLJ7FF9JuWY2neS4-Zxm2cwZ8MhLW2lXks1Wd5Y7qv_cXF894kpZymXxezj/&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;497&quot; data-original-width=&quot;1141&quot; height=&quot;278&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm7YUTGQA7H0kbe3V4oEPFVtdx5q-QCAFTzdVJLr9Aluppr7s4KYyo11mEfAA9qlUIVDvlXFySlJaJmTaK4LLJ7FF9JuWY2neS4-Zxm2cwZ8MhLW2lXks1Wd5Y7qv_cXF894kpZymXxezj/w640-h278/sqldb8.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/641953995205346179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/05/creating-sql-server-on-azure-cloud.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/641953995205346179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/641953995205346179'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/05/creating-sql-server-on-azure-cloud.html' title='Creating SQL Server on Azure Cloud'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYsjJoL8XztNiwDRqi0jmt6XVzWdnV-SuEtmOLt_9qxN9t0Lg81pBkkQUVXSBBBji1NIvlOU_Lu7RFd80QFAffcqyLXIsfqrYSzMx3ek84T782_bT0dAhVP8k8JCcyxDFv0dnSndRdgG1a/s72-w640-h392-c/sqldb1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-588604172938071204</id><published>2020-05-24T13:24:00.003+05:30</published><updated>2020-05-24T13:27:55.856+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><title type='text'>Mounting azure file share on your linux/unix machine</title><content type='html'>&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;So once you create file share in azure, and need to access from linux server how to do that?&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;In azure portal , click on the file share and you will get an option named - Connect&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Go to linux VM , you will see a script that needs to be run on azure linux vm to mount the fileshare.&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;In my case i ran the script on my azure vm and file share got mounted without any issues.&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb-l7Zna_s-0UgnWP-kM6bZPH-Ym31r7Kl7ikEBu4kYYNtpFaJJX2f4pOwJdxNvGW8ej1H_O5HiCBpAeuDRveWHUgijRhtehIFRkgOLjwG2B7Kdb0XqDV6EeVwxj2Fep3-HqJ9RjCnuEm5/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;font face=&quot;arial&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;555&quot; data-original-width=&quot;976&quot; height=&quot;364&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb-l7Zna_s-0UgnWP-kM6bZPH-Ym31r7Kl7ikEBu4kYYNtpFaJJX2f4pOwJdxNvGW8ej1H_O5HiCBpAeuDRveWHUgijRhtehIFRkgOLjwG2B7Kdb0XqDV6EeVwxj2Fep3-HqJ9RjCnuEm5/w640-h364/azurefsmount.JPG&quot; width=&quot;640&quot; /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Filesystem syntax will be in the form of :&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;font color=&quot;#0f9d58&quot;&gt;/&lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#0f9d58&quot;&gt;/yourstorageaccount.file.core.windows.net/filesharename&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVIKoYq5Zb7BGqiui-TVvZyTOuTNeyVkK-ZaXLTs8moJGESjMt5jYAAqyKD622tCrAb_IQAmUdIJ5K4ar843VecQjIF-XDbyRGOBUJ19Mq0t8LbGJt3u6M4PBMJf2UOeDUZkiReMlYYieC/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;font face=&quot;arial&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;347&quot; data-original-width=&quot;757&quot; height=&quot;294&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVIKoYq5Zb7BGqiui-TVvZyTOuTNeyVkK-ZaXLTs8moJGESjMt5jYAAqyKD622tCrAb_IQAmUdIJ5K4ar843VecQjIF-XDbyRGOBUJ19Mq0t8LbGJt3u6M4PBMJf2UOeDUZkiReMlYYieC/w640-h294/azuremount1.JPG&quot; width=&quot;640&quot; /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/588604172938071204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/05/mounting-azure-file-share-on-your.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/588604172938071204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/588604172938071204'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/05/mounting-azure-file-share-on-your.html' title='Mounting azure file share on your linux/unix machine'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb-l7Zna_s-0UgnWP-kM6bZPH-Ym31r7Kl7ikEBu4kYYNtpFaJJX2f4pOwJdxNvGW8ej1H_O5HiCBpAeuDRveWHUgijRhtehIFRkgOLjwG2B7Kdb0XqDV6EeVwxj2Fep3-HqJ9RjCnuEm5/s72-w640-h364-c/azurefsmount.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-344296017493612272</id><published>2020-05-16T19:36:00.002+05:30</published><updated>2020-05-16T19:36:42.422+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><title type='text'>Azure Storage - Containers,blobs,file shares</title><content type='html'>&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Microsoft Azure Cloud can store data in a storage account, once a storage account is created we get different options to store data:&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;1. Containers for blob storage - Blob storage is designed for storing unstructured data , designed mainly for images, or documents directly from browser , video, audio,storing data for backups and recovery etc..&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;To create blobs, click on container and you will can add new container to hold blob data along with access level&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;493&quot; data-original-width=&quot;1136&quot; height=&quot;278&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis9m93OQ77kgnwxUGWTYG8IzXEovXWe1hW9ZrDeNSiB8T5b2s4hsNgSkRn0qyvLjjQ-HoZQw2qcqQsKAFBLGqvR9QsWoW0s8J0WGwgQ-8EYG6-iNSJ3-9vsoLeVdVD-vBLIUJGVkmJeiKm/w640-h278/azurestorage1.JPG&quot; style=&quot;margin-left: auto; margin-right: auto;&quot; width=&quot;640&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis9m93OQ77kgnwxUGWTYG8IzXEovXWe1hW9ZrDeNSiB8T5b2s4hsNgSkRn0qyvLjjQ-HoZQw2qcqQsKAFBLGqvR9QsWoW0s8J0WGwgQ-8EYG6-iNSJ3-9vsoLeVdVD-vBLIUJGVkmJeiKm/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;font size=&quot;4&quot;&gt;&lt;/font&gt;&lt;/a&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='http://passion-db.blogspot.com/feeds/344296017493612272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/05/azure-storage-containersblobsfile-shares.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/344296017493612272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/344296017493612272'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/05/azure-storage-containersblobsfile-shares.html' title='Azure Storage - Containers,blobs,file shares'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis9m93OQ77kgnwxUGWTYG8IzXEovXWe1hW9ZrDeNSiB8T5b2s4hsNgSkRn0qyvLjjQ-HoZQw2qcqQsKAFBLGqvR9QsWoW0s8J0WGwgQ-8EYG6-iNSJ3-9vsoLeVdVD-vBLIUJGVkmJeiKm/s72-w640-h278-c/azurestorage1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-8605419097999338614</id><published>2020-05-15T20:23:00.004+05:30</published><updated>2020-05-15T20:23:58.009+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><title type='text'>aws s3 command to list and copy files from and to AWS s3 Bucket</title><content type='html'>&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;AWS S3 command is used to copy data from AWS bucket to a location - say a mountpoint on unix&amp;nbsp;&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;box or vice-versa or buckets&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;This command is similar to Unix cp command. I used aws s3 ls and aws s3 cp to copy files from S3 bucket sometime back.&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;buckets to a mount point in the server.&amp;nbsp;&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Below are some examples and syntax for the same:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;1. List directories and files :&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font color=&quot;#0b8043&quot; face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;b&gt;&amp;nbsp;aws s3 ls s3://path/file&lt;/b&gt;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;ls command with list objects and common prefixes under a specified bucket and prefix.&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;2. List content in a directory:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;font color=&quot;#0b8043&quot; face=&quot;arial&quot; size=&quot;4&quot;&gt;aws s3 ls s3://path/directory --recursive&amp;nbsp;&lt;/font&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;with above command all contents in directory are listed.&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;3. Copy files from S3 bucket to a mount point :&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;font color=&quot;#0b8043&quot; face=&quot;arial&quot; size=&quot;4&quot;&gt;aws s3 cp://file path /tmp&lt;/font&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;in above command aws s3 copy command copies a file from S3 bucket to a local mountpoint /tmp&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;4. Copy files from mount point to s3 bucket:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;font color=&quot;#0b8043&quot; face=&quot;arial&quot; size=&quot;4&quot;&gt;aws s3 cp /tmp/file1.txt s3://path/fil1,txt&lt;/font&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;5. Delete files in bucket :&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;font color=&quot;#0b8043&quot; face=&quot;arial&quot; size=&quot;4&quot;&gt;aws s3 rm s3://path/file1.txt&lt;/font&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;6. Display file with file size in human readable format:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;font color=&quot;#0b8043&quot; face=&quot;arial&quot; size=&quot;4&quot;&gt;aws s3 ls&amp;nbsp; s3://path --recursive --human-readable --summarize&lt;/font&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/8605419097999338614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/05/aws-s3-command-to-list-and-copy-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/8605419097999338614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/8605419097999338614'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/05/aws-s3-command-to-list-and-copy-files.html' title='aws s3 command to list and copy files from and to AWS s3 Bucket'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-5126371475888320430</id><published>2020-05-14T21:59:00.002+05:30</published><updated>2020-05-14T21:59:35.527+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Mariabackup for taking backup of mariadb databases</title><content type='html'>&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Today i have taken backup using mariabackup, with this utility you can take online full and incremental backups.&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Below are the steps to be followed:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;1. Create user as for backup:&lt;/font&gt;&lt;/div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;MariaDB [(none)] &amp;gt; Create user &#39;mariabackup&#39;@&#39;localhost&#39; identified by &#39;password&#39;;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;MariaDB [(none)] &amp;gt; Grant reload,process,lock tables, replication client on *.* to &#39;mariabackup&#39;@&#39;localhost&#39;;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;2. Install Maria backup:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;#yum install MariaDB-backup&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;you will observe packages being installed and at the end will get message Complete !&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;3. Create a directory for backups, in my case i created /backup&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;4. take backups :&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp;#mariabackup --backup --target-dir=/backup --user=mariabackup --password=password&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Backup will start and at the end you will get a message completed OK !&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;now we can go to the directory and check files created, you will see multiple files along with DB files that have backup related info -&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;backup-my.cnf,&amp;nbsp; xtrabackup_info, xtrabackup_checkpoints&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/5126371475888320430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/05/mariabackup-for-taking-backup-of.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5126371475888320430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5126371475888320430'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/05/mariabackup-for-taking-backup-of.html' title='Mariabackup for taking backup of mariadb databases'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-8182463405536019879</id><published>2020-05-06T09:13:00.001+05:30</published><updated>2020-05-06T09:13:40.303+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Mariadb Installation on Centos7</title><content type='html'>&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;I recently installed Mariadb10.0 on Centos , this was on Azure. To start with i have created a VM on AZURE with centos and post Completion installed Mariadb.&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;Installing mariadb is fairly simple and below are the steps to be followed..:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;1. Enable Mariadb Repository , create a file /etc/yum.repos.d/MariaDB.repo and add:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;font face=&quot;courier&quot;&gt;&amp;nbsp; name = MariaDB&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp; baseurl = http://yum.mariadb.org/10.4/centos7-amd64&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp; gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp; gpgcheck=1&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font size=&quot;4&quot;&gt;2. &lt;font face=&quot;arial&quot;&gt;Next step is to install MariaDB server and Client packages , use yum:&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;# yum install Mariadb-Server MariaDB-Client&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp; this will download the required packages&amp;nbsp;and complete the installation. Galera packages&amp;nbsp;are also installed as it comes bundled in this version.&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;3. Start Mariadb :&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp; # Systemctl start Mariadb&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&amp;nbsp; &amp;nbsp; # Systemctl status Mariadb&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;At this point Mariadb should be up and running. Configuration file can be found in /etc/mariadb.d/server.cnf and default directory&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;is in /var/lib/mysql.&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;With Mariadb 10.4 you can login to database without root password:&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&amp;nbsp; #mysql -uroot&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot; size=&quot;4&quot;&gt;&amp;nbsp; Mariadb&amp;gt;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;arial&quot;&gt;&lt;br /&gt;&lt;/font&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='http://passion-db.blogspot.com/feeds/8182463405536019879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/05/mariadb-installation-on-centos7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/8182463405536019879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/8182463405536019879'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/05/mariadb-installation-on-centos7.html' title='Mariadb Installation on Centos7'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-2491346481219710544</id><published>2020-04-25T02:27:00.001+05:30</published><updated>2020-04-25T02:27:15.538+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Devops"/><category scheme="http://www.blogger.com/atom/ns#" term="Docker"/><title type='text'>Docker Commands</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;I worked on docker and am sharing basic docker commands for reference:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;i&gt;1. To check running containers : This command lists running docker container&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;$ docker ps&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;CONTAINER ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMAGE&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;COMMAND&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CREATED&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STATUS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NAMES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;df3589d324rg&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ubuntu&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;docker-entrypoint.s…&quot;&amp;nbsp; &amp;nbsp;About a minute ago&amp;nbsp; &amp;nbsp;Up About a minute&amp;nbsp; &amp;nbsp;80&amp;nbsp; &amp;nbsp; ubuntu&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;2e0eabc266d9&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; postgres&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;docker-entrypoint.s…&quot;&amp;nbsp; &amp;nbsp;5 minutes ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Up 5 minutes&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5432/tcp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;db&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;i&gt;2. To stop running containers: This command stops running container, i have taken first 4 characters of the first container from above commands&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;$ docker stop ContainerID&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;$ docker stop df35&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;i&gt;3. To remove a container : After stopping the container, remove with the below commands&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;$ docker rm df35&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;i&gt;4. Lists all the network&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
$docker network ls&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
NETWORK ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NAME&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DRIVER&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SCOPE&lt;/div&gt;
&lt;div&gt;
eaa996cb5b14&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bridge&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bridge&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; local&lt;/div&gt;
&lt;div&gt;
f46cc1338e5a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; host&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; host&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; local&lt;/div&gt;
&lt;div&gt;
9e826c05fcfd&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; none&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; null&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; local&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/2491346481219710544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/04/docker-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/2491346481219710544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/2491346481219710544'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/04/docker-commands.html' title='Docker Commands'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-3912807078228224993</id><published>2020-04-12T14:42:00.000+05:30</published><updated>2020-04-12T14:42:26.549+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Devops"/><category scheme="http://www.blogger.com/atom/ns#" term="Jenkins"/><title type='text'>Jenkins Installation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Today am going to discuss about Jenkins installation.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Jenkins can be installed on both unix and windows, i recently installed on my windows 7 laptop and thought of sharing the process in detail with screenshots.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;First we need to download jenkins from website -&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://jenkins.io/download/&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;https://jenkins.io/download/&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Select relevant&amp;nbsp;option from the below, i selected windows:&lt;/span&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhffLDRPG1sdbz7fTuKC6BG90O4L1eypMU0UArv8nUUNl0LFS9qdrA0gFIh7JpJFnGR84RZzOoWuhiD7HoWMYgnLglxHBwNjbnUXaBBjn2rTMzNF4RDnkgGQrPQsyROGCFUe4Zbq8SEKi2E/s1600/Download+options.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;562&quot; data-original-width=&quot;758&quot; height=&quot;295&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhffLDRPG1sdbz7fTuKC6BG90O4L1eypMU0UArv8nUUNl0LFS9qdrA0gFIh7JpJFnGR84RZzOoWuhiD7HoWMYgnLglxHBwNjbnUXaBBjn2rTMzNF4RDnkgGQrPQsyROGCFUe4Zbq8SEKi2E/s400/Download+options.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&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;br /&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;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Once downloaded jenkin.msi needs to be run&amp;nbsp;&lt;/span&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDxkDhG1P5F2qkIxx2Uqpc8xELmJcIeG15-GqYyutRYaM2Uch-XMbSMvg5jbyBSuoVn1ZmFCxBx6b1bpXKvT5L5hpAAVYsvQjvO0-JUkfVwB7dgsfWrGB3PTENpCjfKVGYL4S7yoFguIc7/s1600/jenkins+setup1.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;384&quot; data-original-width=&quot;494&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDxkDhG1P5F2qkIxx2Uqpc8xELmJcIeG15-GqYyutRYaM2Uch-XMbSMvg5jbyBSuoVn1ZmFCxBx6b1bpXKvT5L5hpAAVYsvQjvO0-JUkfVwB7dgsfWrGB3PTENpCjfKVGYL4S7yoFguIc7/s400/jenkins+setup1.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;you will need to select installation location , i chose the default one :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYTJ-Q3D_GXR-gLz78m1n_BoKxzk7127684bmNQLajds17080IKcQ1RFzw1wQkT4SqXhzlkDt_-7xukf1i6E4qpWd9RQGlNq3ShQjM09RYRXozbKLlXCWZ5F7VrGt97CnKxWzQgeAqW2vx/s1600/jenkins+setup2.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;386&quot; data-original-width=&quot;500&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYTJ-Q3D_GXR-gLz78m1n_BoKxzk7127684bmNQLajds17080IKcQ1RFzw1wQkT4SqXhzlkDt_-7xukf1i6E4qpWd9RQGlNq3ShQjM09RYRXozbKLlXCWZ5F7VrGt97CnKxWzQgeAqW2vx/s400/jenkins+setup2.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Click on next to proceed:&lt;/span&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqN1H9JaxIH8bFK7WwzwKKFtcBWKchk8BIzD6PYzm-CoftJa4JCQo7f6cOvxT11_ONWSSx6WD7oW0qLqADptKCi-zIPTtNHPUvEERDicR1bGnr2EE71T52sO2W2c0Sx3nJk_9v3lUMzPBT/s1600/jenkins+setup3.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;383&quot; data-original-width=&quot;497&quot; height=&quot;306&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqN1H9JaxIH8bFK7WwzwKKFtcBWKchk8BIzD6PYzm-CoftJa4JCQo7f6cOvxT11_ONWSSx6WD7oW0qLqADptKCi-zIPTtNHPUvEERDicR1bGnr2EE71T52sO2W2c0Sx3nJk_9v3lUMzPBT/s400/jenkins+setup3.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwpO-Zco6NyaseE_DgKzXYlYBMsR3rM4JSDbHflz1AdtA0NdGK1yX4hB6GnHqJ0FkN3pRi17o1p1ROmMUu-wnndLIuuZ2ISdlvaSr1qzW_hoy68qQHQdMgQHm9fGfv2Sx6aqLT4ecvitYO/s1600/jenkins+setup4.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;385&quot; data-original-width=&quot;492&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwpO-Zco6NyaseE_DgKzXYlYBMsR3rM4JSDbHflz1AdtA0NdGK1yX4hB6GnHqJ0FkN3pRi17o1p1ROmMUu-wnndLIuuZ2ISdlvaSr1qzW_hoy68qQHQdMgQHm9fGfv2Sx6aqLT4ecvitYO/s400/jenkins+setup4.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&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 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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFv5LhxieicMSBbIy6JzAYi-JxBSpdh_C_6CjX3zrDRpWrQiYXP-SECPvPHJ8nhqK0tft7SN0uT3LVTMbqOYxQMZc_CkYr6An3jg0jSUx0LAqHix3LE_WAbPMPG3xC8ZR8zgYvIchg9IgJ/s1600/jenkins+setup5.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;379&quot; data-original-width=&quot;494&quot; height=&quot;306&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFv5LhxieicMSBbIy6JzAYi-JxBSpdh_C_6CjX3zrDRpWrQiYXP-SECPvPHJ8nhqK0tft7SN0uT3LVTMbqOYxQMZc_CkYr6An3jg0jSUx0LAqHix3LE_WAbPMPG3xC8ZR8zgYvIchg9IgJ/s400/jenkins+setup5.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;few clicks our installation is completed&amp;nbsp;&lt;/span&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRRCfoeP_oR3GYYHV0vlnPDad74YNoC1sqVfKWj8zFRftZroYZU9JRPQbh2TrAQFxe-R5glLof9pX6xT0tsln41lh_qttiELUWtExOiyXkX5gsIO17cjm2giP8WwX07XnaQcbHNqixh-69/s1600/jenkins+setup6.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;383&quot; data-original-width=&quot;496&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRRCfoeP_oR3GYYHV0vlnPDad74YNoC1sqVfKWj8zFRftZroYZU9JRPQbh2TrAQFxe-R5glLof9pX6xT0tsln41lh_qttiELUWtExOiyXkX5gsIO17cjm2giP8WwX07XnaQcbHNqixh-69/s400/jenkins+setup6.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;In next step jenkins will start it&#39;s configuration&amp;nbsp;&lt;/span&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIZLdjwyFIbUwa1XQt7i0hdaxOfuNEiIVIBqhFW5GOwbFYf1gIV4zmdf3WyRL_q6vV7K0bW6AKJ5kydRfDiI85motxe7OHGfY0CWb5lNeVJCaWfRDxUHv-uxGiUNufDDChd4LFStXmFW27/s1600/jenkins+setup7.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;403&quot; data-original-width=&quot;643&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIZLdjwyFIbUwa1XQt7i0hdaxOfuNEiIVIBqhFW5GOwbFYf1gIV4zmdf3WyRL_q6vV7K0bW6AKJ5kydRfDiI85motxe7OHGfY0CWb5lNeVJCaWfRDxUHv-uxGiUNufDDChd4LFStXmFW27/s640/jenkins+setup7.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;In next step jenkins installation need a password stored in a file as per the screenshot, navigate to the file and enter the password&lt;/span&gt;.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVhTqc_fLhPRHyZm_TWYyRfD2kDDj-cChfOTGYKddl55KKunicjmxzAdVHPEmVxZTbwxk6PYa8Mh5-lhmyVRV8OdVn9O_Rep9VGbFHpoa8uKS3v-Bx5URgRmrLMYI5O3r8YfCul5cpRfVi/s1600/jenkins+setup8.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;374&quot; data-original-width=&quot;655&quot; height=&quot;364&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVhTqc_fLhPRHyZm_TWYyRfD2kDDj-cChfOTGYKddl55KKunicjmxzAdVHPEmVxZTbwxk6PYa8Mh5-lhmyVRV8OdVn9O_Rep9VGbFHpoa8uKS3v-Bx5URgRmrLMYI5O3r8YfCul5cpRfVi/s640/jenkins+setup8.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR36Gw-RRce6qEIIwi6glpR6iUsa8iZf66ghAYaE7-bH2LYGNo9lIZEwjHT0ZMdw-T6t7sjP2QR6cMU5fXajW8dleMvdr9bpa7QDqT9PdaCraOHAvOk4zOgruWwJpYFXcfqgBGRk0rRirM/s1600/jenkins+setup9.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;354&quot; data-original-width=&quot;642&quot; height=&quot;352&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR36Gw-RRce6qEIIwi6glpR6iUsa8iZf66ghAYaE7-bH2LYGNo9lIZEwjHT0ZMdw-T6t7sjP2QR6cMU5fXajW8dleMvdr9bpa7QDqT9PdaCraOHAvOk4zOgruWwJpYFXcfqgBGRk0rRirM/s640/jenkins+setup9.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 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;span style=&quot;font-size: large;&quot;&gt;Copy the password and enter, post the jenkins configuration will proceed further:&lt;/span&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9SkARCfECy4JoLa7a4MEd4_-5PC0erLTANhnoiAbhfvFyWHk-aBQACy9kRDncA3O0a0b7q0HD8BOSdLbCHxM-ICjTDZzRAVChweKQbvmoPkLaBxATz_S17kd0oVe8mE5OBy9RNFNULcY9/s1600/jenkins+setup10.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;389&quot; data-original-width=&quot;662&quot; height=&quot;376&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9SkARCfECy4JoLa7a4MEd4_-5PC0erLTANhnoiAbhfvFyWHk-aBQACy9kRDncA3O0a0b7q0HD8BOSdLbCHxM-ICjTDZzRAVChweKQbvmoPkLaBxATz_S17kd0oVe8mE5OBy9RNFNULcY9/s640/jenkins+setup10.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;In next step jenkins with download , install plugins to create new jenkins jobs&lt;/span&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGAzLxgGD7VygPvlRSxOU4KrOrUfBcxTXgK0j9gvSisPEsQ7U2aTnnzhOY8pnlj7ZqUxrqE4lVEXR73_yo4UdiFLxWMNlunDHabSqQ6aDx7LJP_PtUjrBRrBC7UINYC90R_VH8GxqAhy9t/s1600/jenkins+setup11.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;335&quot; data-original-width=&quot;641&quot; height=&quot;332&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGAzLxgGD7VygPvlRSxOU4KrOrUfBcxTXgK0j9gvSisPEsQ7U2aTnnzhOY8pnlj7ZqUxrqE4lVEXR73_yo4UdiFLxWMNlunDHabSqQ6aDx7LJP_PtUjrBRrBC7UINYC90R_VH8GxqAhy9t/s640/jenkins+setup11.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Once above is completed , create new user page will appear&lt;/span&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdZUybHU3k9ditvrn3DDM4eKtSKchd5M3PAvaBEsSnRV3jZucoRBZPCY_49IW9xCp50F_0nJBZd5DurSL53gthYpMyz3lhyphenhyphen3YQfsdiodT7wPkaE5rOHi6nstqkmOox95cVGpGC3xzy9k_y/s1600/jenkins+setup12.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;370&quot; data-original-width=&quot;645&quot; height=&quot;366&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdZUybHU3k9ditvrn3DDM4eKtSKchd5M3PAvaBEsSnRV3jZucoRBZPCY_49IW9xCp50F_0nJBZd5DurSL53gthYpMyz3lhyphenhyphen3YQfsdiodT7wPkaE5rOHi6nstqkmOox95cVGpGC3xzy9k_y/s640/jenkins+setup12.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 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;span style=&quot;font-size: large;&quot;&gt;Fill in above details and next page will give default URL:Port of jenkins. We can change the below as per the requirement.&lt;/span&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKjJvdgyYcftWzn3Af0BNkNb7z4QDI8nVXT14Vn5N_tLkpvKw0-VBRIUn_xU9P36xN1lv2H9Fi3zHhyphenhyphenugZNMfB8hS_7X2w6937R5Hc04wY8KhnV7vBBoz7u905JBHyiUjieCYwNBm0cxyf/s1600/jenkins+setup13.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;338&quot; data-original-width=&quot;647&quot; height=&quot;334&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKjJvdgyYcftWzn3Af0BNkNb7z4QDI8nVXT14Vn5N_tLkpvKw0-VBRIUn_xU9P36xN1lv2H9Fi3zHhyphenhyphenugZNMfB8hS_7X2w6937R5Hc04wY8KhnV7vBBoz7u905JBHyiUjieCYwNBm0cxyf/s640/jenkins+setup13.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP93MOMk8q6AWPK46c8k6qUr6Ofwh0bUf0D2FtdzFKXMvA6QEeBvS0A-n6mS7Gf98SkyV-0BIF2lFOJIueboxqLJjyJ9ICnMcI69a9EPdem4ryb57bobjdlP4Thg4rJoffK3auQc5Kjnjk/s1600/jenkins+setup14.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;497&quot; data-original-width=&quot;651&quot; height=&quot;488&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP93MOMk8q6AWPK46c8k6qUr6Ofwh0bUf0D2FtdzFKXMvA6QEeBvS0A-n6mS7Gf98SkyV-0BIF2lFOJIueboxqLJjyJ9ICnMcI69a9EPdem4ryb57bobjdlP4Thg4rJoffK3auQc5Kjnjk/s640/jenkins+setup14.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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 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;span style=&quot;font-size: large;&quot;&gt;Finally our configuration is completed&amp;nbsp;&lt;/span&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ7A1nRWtla0n6w0AQ1Sj0MPNohPdaVBBWNN_2eVuH3q0BW2wE-0086fnWde-aiK61zHKSFBvb_Fj19LQ40ZB8pfHPuZB20pVT5lAaqKHJW5w3VaiICdJLeVgltWasLzbN7U4CttMv0mES/s1600/jenkins+setup15.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;467&quot; data-original-width=&quot;633&quot; height=&quot;472&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ7A1nRWtla0n6w0AQ1Sj0MPNohPdaVBBWNN_2eVuH3q0BW2wE-0086fnWde-aiK61zHKSFBvb_Fj19LQ40ZB8pfHPuZB20pVT5lAaqKHJW5w3VaiICdJLeVgltWasLzbN7U4CttMv0mES/s640/jenkins+setup15.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&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&gt;
</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/3912807078228224993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/04/jenkins-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/3912807078228224993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/3912807078228224993'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/04/jenkins-installation.html' title='Jenkins Installation'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhffLDRPG1sdbz7fTuKC6BG90O4L1eypMU0UArv8nUUNl0LFS9qdrA0gFIh7JpJFnGR84RZzOoWuhiD7HoWMYgnLglxHBwNjbnUXaBBjn2rTMzNF4RDnkgGQrPQsyROGCFUe4Zbq8SEKi2E/s72-c/Download+options.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-5202760434677146042</id><published>2020-03-31T05:45:00.001+05:30</published><updated>2020-03-31T05:47:27.132+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MongoDB"/><title type='text'>MongoDB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I have worked on MongoDB for sometime and wanted to share some knowledge gathered during this time.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/5202760434677146042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/03/mongodb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5202760434677146042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5202760434677146042'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/03/mongodb.html' title='MongoDB'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-5139158264551764573</id><published>2020-03-21T12:56:00.000+05:30</published><updated>2020-03-27T18:46:31.723+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><category scheme="http://www.blogger.com/atom/ns#" term="shell script"/><title type='text'>Shell script to execute mysql query</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;We can run mysql queries via shell scripts, since this is required at times .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Say&amp;nbsp; a query is to be scheduled via crontab and shell script.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Here is a simple shell script example, as an example:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;vi testscript.sh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;#!/usr/bin/bash&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;DBUSER=&#39;username&#39;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;DBPASSWD=&#39;Password&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Query=&#39;show databases&#39;&amp;nbsp; &amp;nbsp;-- example query&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;mysql -u $DBUSER -p $DBPASSWD&amp;nbsp; &amp;lt;&lt;eof eof=&quot;&quot; p=&quot;&quot;&gt;&lt;eof p=&quot;&quot;&gt;&lt;br /&gt;&lt;/eof&gt;
&lt;eof p=&quot;&quot;&gt;&lt;br /&gt;&lt;/eof&gt;&lt;/eof&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;eof p=&quot;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;eof p=&quot;&quot;&gt;$Query&lt;/eof&gt;&lt;br /&gt;
&lt;eof p=&quot;&quot;&gt;&lt;br /&gt;
EOF&lt;br /&gt;&lt;br /&gt;
----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
The above is a simple script to show databases and is executed with shell script..&lt;br /&gt;
&lt;br /&gt;
# sh testscript.sh&lt;br /&gt;
&lt;br /&gt;
We can schedule the above in crontab to run at a designated time.&lt;br /&gt;
&lt;br /&gt;
Many such scripts can be written to automate daily tasks - backups etc..&lt;br /&gt;
&lt;/eof&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/eof&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/5139158264551764573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/03/shell-script-to-execute-mysql-query.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5139158264551764573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5139158264551764573'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/03/shell-script-to-execute-mysql-query.html' title='Shell script to execute mysql query'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-7555374369843537400</id><published>2020-03-19T21:39:00.002+05:30</published><updated>2020-03-27T18:51:23.384+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Executing mysql commands from unix command prompt</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;We can also run mysql queries from unix command prompt. This is useful in many cases, say i want to check status of db cluster or check running processes etc.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;I am sharing a basic example here:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;mysql -u username -p -e &quot;show databases;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;The above command will ask for password and share output of current databases.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;This is a quick way to get required information.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/7555374369843537400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/03/executing-mysql-commands-from-unix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/7555374369843537400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/7555374369843537400'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/03/executing-mysql-commands-from-unix.html' title='Executing mysql commands from unix command prompt'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-4275025212492790611</id><published>2020-03-18T18:22:00.000+05:30</published><updated>2020-04-24T10:30:41.227+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb Galera Cluster"/><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Maridb Galera Cluster</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;So after working on Oracle RAC, SQL Server Always-On and DB2 HADR now finally i have got a chance to get hands-on Mariadb Galera Cluster and i am amazed. The Galera cluster is an Active-Active cluster , what that means you can write on any node and data is available on all nodes, changes are getting replicated quickly across all nodes and it&#39;s just so simple to install while Oracle and other clusters take too much time..&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;Here i will list done a few commands to monitor Galera cluster status :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;MariaDB &amp;gt; Show status like &#39;wsrep%&#39;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: white; border-color: rgb(105, 105, 105); border-style: solid; border-width: 0px 0px 1px 4px; font-family: &amp;quot;droid sans mono&amp;quot;, monospace; overflow: auto hidden; padding: 10px; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #003f87;&quot;&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;+------------------------+-------+&lt;/span&gt;
&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Variable_name&lt;/span&gt;          &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Value&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt;
&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;+------------------------+-------+&lt;/span&gt;
&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;wsrep_protocol_version&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt;       &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt;
&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;wsrep_last_committed&lt;/span&gt;   &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: #208050;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #003f87;&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;color: #003f87;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;color: #003f87;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #003f87;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;color: #003f87;&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;color: #003f87;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #003f87;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;color: #003f87;&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;color: #003f87;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;color: #003f87;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;color: #003f87;&quot;&gt;wsrep_thread_count&lt;/span&gt;&lt;span style=&quot;color: #003f87;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;You will see a list of variables related to galera in the output displaying about Number of Nodes in the cluster, their ip addresses, Current status..etc..&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;Will write more about these in my next post related to Galera.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/4275025212492790611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/03/maridb-galera-cluster.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/4275025212492790611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/4275025212492790611'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/03/maridb-galera-cluster.html' title='Maridb Galera Cluster'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-4461610324030437914</id><published>2020-03-18T11:07:00.000+05:30</published><updated>2020-03-27T18:51:58.061+05:30</updated><title type='text'>Select Into OUTFILE  Mariadb/MYSQL to export data in csv format </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;At&amp;nbsp; times where we need to export Data into csv format in mariadb/mysql,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;SELECT INTO OUTFILE will write resulting rows from a query into a file - csv..&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;Below is a simple example on this :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;select * from table INTO OUTFILE&amp;nbsp; &#39;/path/test.csv&#39;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;FIELDS TERMINATED BY &#39;,&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;ENCLOSED BY &#39; &quot; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;ESCAPED BY &#39;\\&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;LINES TERMINATED BY &#39;\n&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;Handling Null values -&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;Another thing we will notice is having /N in output where we have Null values in table, in few cases requirement is to have blank Fields instead of /N in output. in these cases we need to use IFNULL function in the query&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;example,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Select name, IFNULL (Date, &#39; &#39;) from&amp;nbsp;&lt;span style=&quot;font-size: xx-small;&quot;&gt;table &lt;/span&gt;INTO OUTFILE&amp;nbsp; &#39;/path/test.csv&#39;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;FIELDS TERMINATED BY &#39;,&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;ENCLOSED BY &#39; &quot; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;ESCAPED BY &#39;\\&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;LINES TERMINATED BY &#39;\n&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;With the above we replaced Null with blank in the csv output.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/4461610324030437914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/03/select-into-outfile-in-mariadbmysql-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/4461610324030437914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/4461610324030437914'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/03/select-into-outfile-in-mariadbmysql-to.html' title='Select Into OUTFILE  Mariadb/MYSQL to export data in csv format '/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-1114999411993418055</id><published>2020-03-18T10:51:00.000+05:30</published><updated>2020-03-27T18:52:14.053+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>Scheduling Events in Mariadb/MYSQL , event scheduler/Job scheduler</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Event schedulers are a way of scheduling Database jobs in Mariadb/MYSQL databases, it is similar to job schedulers used in Oracle and other databases.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;There are times where we need to run certain reports or run queries at specified times, these can be accomplished using event schedulers in MariaDB database.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Before scheduling events we need to turn ON event_scheduler variable, we can check the current status using below command :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;show Variables like &quot;event_scheduler&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;output :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;---------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Variable_Name&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; Value&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;---------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;event_scheduler&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; ON&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;---------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;It is visible above that scheduler is turned ON, and hence we can proceed with scheduling jobs.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; line-height: 20px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;If the event scheduler is not running and&amp;nbsp;&lt;code style=&quot;background-color: inherit; border-radius: 20px; box-sizing: border-box; color: #435363; font-family: monaco, menlo, consolas, &amp;quot;courier new&amp;quot;, monospace; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;event_scheduler&lt;/code&gt;&amp;nbsp;has been set to&amp;nbsp;&lt;code style=&quot;background-color: inherit; border-radius: 20px; box-sizing: border-box; color: #435363; font-family: monaco, menlo, consolas, &amp;quot;courier new&amp;quot;, monospace; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;OFF&lt;/code&gt;, use:&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;fixed&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(227, 227, 227); box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px inset; box-sizing: border-box; color: #333333; font-family: menlo, monaco, consolas, &amp;quot;courier new&amp;quot;, monospace; line-height: 1.42857; margin-bottom: 20px; min-height: 20px; overflow-wrap: normal; overflow: auto; padding: 9px; word-break: break-all;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;SET GLOBAL event_scheduler = ON;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Create event syntax can be studied in detail on Mariadb/MYSQL website, i will create a simple event to demonstrate here.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;Create event &#39;test&#39; On schedule every 24 hours starts &#39;Date&#39; ENDS &#39;Date&#39; On Completion Preserve Enable DO&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;select * from test.test1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;We create an event named Test scheduled to run every 24 hours at a specified time with start and END date. If we don&#39;t specify On completion Preserve the event will be dropped from the database and need to recreate, hence it is important ot mention On completion Preserve.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Event is also enabled using the Enable clause.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;To check event scheduled we can query information_schema.events table, that will provide information about currently scheduled events and their execution statistics.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;More details regarding the syntax and scheduling can be found in mariadb website.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/1114999411993418055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2020/03/scheduling-events-in-mariadbmysql-event.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/1114999411993418055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/1114999411993418055'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2020/03/scheduling-events-in-mariadbmysql-event.html' title='Scheduling Events in Mariadb/MYSQL , event scheduler/Job scheduler'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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><entry><id>tag:blogger.com,1999:blog-5057972440838987204.post-5412292750346653010</id><published>2019-11-22T16:00:00.000+05:30</published><updated>2020-03-27T18:52:30.225+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mariadb/MYSQL"/><title type='text'>mysqldump backup in MariaDB/mysql</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;As a DBA taking backup is a common task, and mysqldump utility works with MariadB , i find it a simplest way of taking backups.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Below are few examples of taking backups using mysqldump -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;1. Taking full database backup :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;mysqldump --all-databases -u root -p &amp;gt; /backup/full-backup.sql&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;The above will take full backup , backup of all databases&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;2. Taking backup with triggers,routines,events :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;mysqldump --triggers --routines --events --all-databases -u root -p &amp;gt; /backup/full-backup.sql&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;The above command is useful in taking backups of triggers, routines,events for all the databases.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;3. Backup individual databases with triggers,routines,events :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;mysqldump --triggers --routines --events --all-databases -u root -p dbname &amp;gt; /backup/full-backup.sql&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;Replace dbname with your database name in above&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;4. Export database structure without any data :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;mysqldump -u root -p --no-data dbname &amp;gt;&amp;nbsp; /backup/db-backup.sql&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
5. Backup a specific table in a database :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;mysqldump -u username -p db1 table1 &amp;gt; /backup/db1-table.sql&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;6. Backup a specific database :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;mysqldump - u username -p db1 &amp;gt; /backup/db1-backup.sql&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://passion-db.blogspot.com/feeds/5412292750346653010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://passion-db.blogspot.com/2019/11/mysqldump-backup-with-mariadb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5412292750346653010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5057972440838987204/posts/default/5412292750346653010'/><link rel='alternate' type='text/html' href='http://passion-db.blogspot.com/2019/11/mysqldump-backup-with-mariadb.html' title='mysqldump backup in MariaDB/mysql'/><author><name>Mohit sharma</name><uri>http://www.blogger.com/profile/11385910180777544566</uri><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>