Search code examples
phpmysqllaravelxampp

XAMPP - Error: MySQL shutdown unexpectedly / Blocked Port


I just installed Visual Studio 2022 Community . After that Xampp gives blocked port error.

Then I uninstall VS22 but still the same.

Error:

180718 12:43:04 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
180718 12:43:04 [ERROR] Do you already have another mysqld server running on port: 445?
180718 12:43:04 [ERROR] Aborting

I checked connections and I don't know if it matters but doesn't have 3306 port.

enter image description here

I've tried to change ports in config files but still doesn't work .


Solution

  • The error message says you might already have a server running on port 445.

    On your terminal, try shutting down all xammp server then restart xammp.

    C:\> "C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqladmin" −u root shutdown