Check out example codes for "mysql not starting in xampp". It will help you in understanding the concepts better.
Code Example 1
18 1 If you have MySQL already installed on your windows then go to services.msc file on your windows and right click the MySQL file and stop the service, now open your XAMPP and start MySQL. Now MySQL will start on the port 3306.
Learn ReactJs, React Native from akashmittal.com