Mysql server not starting without Xamp or Wampserver, How to Use a Common Database for all

23 Views Asked by At

I have WAMPSERVER and XAMPP installed on my windows. Now for Learning Laravel I installed MYSQL. But the issue is that whenever I try to use the command ~mysql -u root it shows ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost:3306' (10061)

I tried Starting the MYSQL FROM XAMPP or WAMPSERVER and then the ~mysql -u root command shows connected successfully. The issue is that when the MYSQL is started with WAMPSERVER then I can only access the database which I had created using WAMP MYSQL server.

Why does my MYSQL fails to connect, and is there any way to use a common database for XAMP and WAMPSERVER?

0

There are 0 best solutions below