XAMPP mysql Boot

Source: Internet
Author: User
Tags config php

Because the recent project to use PHP, need to integrate XAMPP environment, but did not contact PHP, downloaded from the official website Xampp, basically is a fool-like installation,

Complete the installation interface as follows:

Click on the Apache start to start normally, click on the MySQL start display port is occupied, because previously loaded MySQL,

After normal modification of the port (click on the MySQL config, modify the My.ini file), or prompt port 3306 is occupied,

It turns out that every time you start MySQL, you start the local MySQL service (that is, the service item that was previously loaded with MySQL),

On the Internet to check the information, said the need to modify the Apache after config PHP (php.ini) file, modify the default startup service items,

So the new service Xampp_mysql, but still have no effect, the brain is hot to the php.ini file all the MYSQL is changed to Xampp_mysql, and then out of this error,

No way, had to change will come.

Finally, the most direct method is to direct the existing MySQL service to MySQL under Xampp,

Open the Run window (win+r), enter regedit, open the registry,

Enter [Hkey_local_machine\system\currentcontrolset\services\mysql],

Change the ImagePath to the MySQL path under XAMPP, close the registry, and restart the service.

XAMPP mysql Boot

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.