Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing and integrating xampp with an existing MySQL server

Tags:

mysql

xampp

I have a working installation of MySQL Server in my windows development machine which I use when working with Java. However, I want to install xampp without the database server it comes with. How do I make other Xampp Apps like phpmyadmin recognize my working MySQL Server instead?

like image 227
ChuksAdirije Avatar asked Jul 29 '17 22:07

ChuksAdirije


2 Answers

I've resolve this problem.

click XAMPP---Apache's config button,and click PhpAdmin will show the phpMyAdmin's directory quickly, and edit "config.inc.php" and modify the user and password,the defualt port is 3306 ,then restart Apache server.

like image 146
Steve Jiang Avatar answered Oct 12 '22 17:10

Steve Jiang


I've done this in the past when I had an older Xampp application, but a newer MySQL on my PC (separate from Xampp). You can still install Xampp with MySQL, just don't install/start the MySQL service in Xampp.

So, the phpMyAdmin "should" still connect to the local (non-Xampp) MySQL instance, assuming standard port config 3306, otherwise you might have to 'tweak' the phpMyAdmin config.

like image 31
Paul T. Avatar answered Oct 12 '22 16:10

Paul T.