{"id":13414,"date":"2020-05-14T13:08:45","date_gmt":"2020-05-14T13:08:45","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=13414"},"modified":"2020-05-29T08:06:24","modified_gmt":"2020-05-29T08:06:24","slug":"how-to-fix-mysql-port-3306-already-in-use-error-another-instance-already-running","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-to-fix-mysql-port-3306-already-in-use-error-another-instance-already-running\/","title":{"rendered":"How to Fix MySql port 3306 already in use Error\/another instance already running."},"content":{"rendered":"\n<p>There are two types of errors&nbsp; which occur in MySql are as follows:-<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Another instance is already running:- This error occurs when MySql has been installed by you in command-line (cmd) before installing XAMPP server.<br>\u25aaOpen cmd and run as administrator<br>\u25aaSo, type this in command-line (cmd ) = &#8220;sc delete mysql&#8221;<br>\u25aaIt will show you that running instance has deleted succesfully.<\/li><\/ol>\n\n\n\n<p>2. MySql port 3306 already in use error:-<br>Often , this error occurs when\u00a0 XAMPP or MAMP is used for\u00a0 configuring to start MySQL and PHP on system startup and by default MySQL uses port 3306.<br>We have to change this port from old to new one like this :-<br>\u25aaFirstly you have to open XAMPP Control Panel.<br>\u25aaJust click MySql config button->click my.ini file<br>\u25aaIt will open in Notepad , after that u have to find and change port no from 3306 to 3307 in two places<br>\u25aa Save it.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are two types of errors&nbsp; which occur in MySql are as follows:- Another instance is already running:- This error occurs when MySql has been installed by&#8230; <\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-13414","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/13414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=13414"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/13414\/revisions"}],"predecessor-version":[{"id":13415,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/13414\/revisions\/13415"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=13414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=13414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=13414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}