Installing xampp on system that already have mysql
- by Charith
I'm rather new to PHP and xampp.
I have a computer that has installed MySQL server and MySQL workbench as I was working with Java and NetBeans. Now I want to use my computer for developing PHP and other web stuff too.
I installed xampp successfully. But when I'm trying to access phpMyAdmin, it gives me an error saying
mysql server rejected its connection
Actually I tried stopping my current MySQL service and installing it again.
However xampp have a its own mysql server in its installation path too.
I tried configuring config.inc.php to use my existing installation of MySQL which is on a separate path. But I failed.
Can anyone please instruct me how to configure this xampp to use my existing MySQL server to do everything and ignore the installed one with itself? I don't want two MySQL services to run on my system and clash in future.
I'll be glad if anyone can explain to me what is best to use when you're developing Java, PHP, C and all the stuff on the same machine.
P.S.: I have been given a password for my existing MySQL sever (user = root) as we do it usually when installing MySQL alone.