2

In my server, MYSQl is installed and it has some databases. I have installed xampp (LAMPP) in the server. My problem is , now there are two mysql and it is clashing. My xampp is in /opt/lampp folder How to connect my old MYSQL to the LAMPP, so that i can use existing databases? (Any change in php.ini file?)

2 Answers 2

1

Just copy your MySQL data from the MySQL/Data directory into the XAMPP MySQL/Data directory -- correct me if I am wrong but this is what I did on windows with WAMP.

Sign up to request clarification or add additional context in comments.

Comments

0

Had a similar problem. Copied Mysql/data files from wampp mysql/data directory to xampp mysql/data directory. After the copy is done, simply restart xampp mysql service and the tables and data should appear on phpmyadmin

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.