{"id":341,"date":"2019-07-28T13:10:23","date_gmt":"2019-07-28T07:40:23","guid":{"rendered":"https:\/\/techieshouts.com\/?p=341"},"modified":"2022-08-09T19:07:09","modified_gmt":"2022-08-09T13:37:09","slug":"mysql-installation-steps","status":"publish","type":"post","link":"https:\/\/techieshouts.com\/home\/mysql-installation-steps\/","title":{"rendered":"MySQL Installation steps"},"content":{"rendered":"\n<p>In this article, we will see how to install MySql in the Ubuntu machine.<\/p>\n\n\n\n<p>MySql can be installed in linux based machines through the terminal window<\/p>\n\n\n\n<ul><li>Execute the command &#8220;<strong>sudo apt-get install mysql-server mysql-client<\/strong>&#8221; from the terminal. The below-given picture is for reference.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" src=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-7.png\" alt=\"\" class=\"wp-image-343\" width=\"556\" height=\"87\" srcset=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-7.png 376w, https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-7-300x47.png 300w\" sizes=\"(max-width: 556px) 100vw, 556px\" \/><\/figure><\/div>\n\n\n\n<ul><li>You will be asked to enter the machine password here. Give the password and press enter so that the installation will start.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" src=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-8.png\" alt=\"\" class=\"wp-image-344\" width=\"554\" height=\"360\" srcset=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-8.png 376w, https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-8-300x195.png 300w\" sizes=\"(max-width: 554px) 100vw, 554px\" \/><\/figure><\/div>\n\n\n\n<ul><li>It will stop and ask you to enter Y\/N to proceed. Press Y and hit enter to proceed. <\/li><li>Now the installation will continue and you can see the process in the terminal window. <\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" src=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-9.png\" alt=\"\" class=\"wp-image-345\" width=\"550\" height=\"424\" srcset=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-9.png 373w, https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-9-300x232.png 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/figure><\/div>\n\n\n\n<ul><li>Once the installation is done it will ask you to create a password for the root(default) user of MySQL. For our convenience just give the password \u201croot\u201d and press enter.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" src=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-10.png\" alt=\"\" class=\"wp-image-346\" width=\"548\" height=\"278\" srcset=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-10.png 376w, https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-10-300x152.png 300w\" sizes=\"(max-width: 548px) 100vw, 548px\" \/><\/figure><\/div>\n\n\n\n<ul><li>Now you can log into MySQL using \u201cmysql -u root -proot\u201d. Now you will be able to see the command window of MySQL. <\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" src=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-11.png\" alt=\"\" class=\"wp-image-347\" width=\"539\" height=\"248\" srcset=\"https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-11.png 374w, https:\/\/techieshouts.com\/wp-content\/uploads\/2019\/07\/image-11-300x138.png 300w\" sizes=\"(max-width: 539px) 100vw, 539px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will see how to install MySql in the Ubuntu machine. MySql can be installed in linux based machines through the terminal window Execute the command &#8220;sudo apt-get install mysql-server mysql-client&#8221; from the terminal. The below-given picture is for reference. You will be asked to enter the machine password here. Give the\u2026 <span class=\"read-more\"><a href=\"https:\/\/techieshouts.com\/home\/mysql-installation-steps\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":349,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,15],"tags":[22,21],"_links":{"self":[{"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/posts\/341"}],"collection":[{"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/comments?post=341"}],"version-history":[{"count":2,"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/posts\/341\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/posts\/341\/revisions\/348"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/media\/349"}],"wp:attachment":[{"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/media?parent=341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/categories?post=341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techieshouts.com\/home\/wp-json\/wp\/v2\/tags?post=341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}