how do i know on which port mysql runs windows code example Example: netstat -tln mysql lsof -n -P -i TCP -s TCP:LISTEN