MySQL in XAMPP in Linux

Source: Internet
Author: User
In Linux, the MySQL problem in XAMPP is that the company's servers use MySQL and Linux systems. Now the supervisor asks me to install the XAMPP package on this server. I have installed the XAMPP package according to the online steps. However, apache and ftp can be started normally at startup, however, MySQL is always unable to start and always prompts "MySQL in the XAMPP suite in Anoth Linux
The company's servers use MySQL and Linux databases. Now the supervisor asks me to install the XAMPP package on this server. I have installed the XAMPP package according to the online steps. However, apache and ftp can be started normally at startup, however, MySQL is always unable to start and always prompts "Another MySQL daemon is already running. ", in the/localhost/xampp page, the" status "also shows that the MySQL database is not activated.
This problem is because it is a database, and local MySQL is always running, occupying Port 3306. However, the supervisor said that the database could not be stopped, but told me to point XAMPP's MySQL to the local running database through configuration.
Can this be implemented? How should I configure it? Please give us a detailed description!
------ Solution --------------------
Dizzy, it should be OK. isn't it okay to find something, so you shouldn't find an integrated environment?
I don't know if I can use that interface to start or close mysql.



------ Solution --------------------
The problem is actually very simple. the error message is that a mysql instance is running and occupies the key port 3306. In fact, you only need to run a mysql instance, since the database to be migrated is still used, you can open the mysql \ mysql5.0.51b \ data folder where the original mysql is located.
Copy the database required in this folder to the mysql folder under xampp and put it in the database folder.
In this way, you can turn off the original mysql to enable the current xampp mysql. after that, you only need to ensure that this mysql can run without interfering with the original database.

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.