Installing xampp on system that already have mysql

Posted by Charith on Server Fault See other posts from Server Fault or by Charith
Published on 2012-09-23T18:43:35Z Indexed on 2012/09/23 21:39 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

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.

© Server Fault or respective owner

Related posts about php

Related posts about mysql