0

My local pc have 2 server, it seems like phpmyadmin is only accessing the first server and not the other one. Is there a way to remove the first server and make the 2nd as a default?

EDIT: this happened when i try to reconfigure my phpmyadmin using dpkg-reconfigure phpmyadmin, then after finshining the configuration, it created another server and now i can't connect to my primary server

user3779015
  • 499
  • 1
  • 4
  • 19
  • 1
    You can config multiple DB server settings via `config.inc.php` in phpMyAdmin. Read their documentation for more information. – Raptor Mar 21 '18 at 04:45
  • @Raptor this happened when i try to reconfigure my phpmyadmin using dpkg-reconfigure phpmyadmin, then after finshining the configuration, it created another server and now i can't connect to my primary server. – user3779015 Mar 21 '18 at 04:58
  • phpmyadmin has **no** relationship of DB server instance. It's just a client-side software for managing MySQL DB server, i.e. `dpkg-reconfigure phpmyadmin` won't create another DB instance. Double check your MySQL server login credentials. – Raptor Mar 21 '18 at 06:00
  • @Raptor I know the username and password is correct because it was save in my project i am currently working, now even the project can't access the database. – user3779015 Mar 21 '18 at 06:23
  • Have you checked whether your MySQL server is running or not? Hint: use `netstat` or `telnet` to check. – Raptor Mar 21 '18 at 06:25

1 Answers1

0

Please check if both server using the same port 3306. If yes, you might want to change the second one to other port to avoid conflicts.

Wils
  • 1,178
  • 8
  • 24