Code Monkey home page Code Monkey logo

Comments (7)

tomsik68 avatar tomsik68 commented on August 10, 2024 1

I apologize, I don't see why MariaDB isn't starting for you and I'm not sure where to look next. I'll leave this open just in case anyone has a solution.

from docker-xampp.

tomsik68 avatar tomsik68 commented on August 10, 2024

Hey Marwan, thanks for reporting this! These issues are kind of heisenbugs so they're really difficult to debug but I'll try to help if I can.

Firstly, can you share which platform you're running Docker on? Is it Windows, Mac, Linux? It might be that the port 3306 is blocked by some process on your local machine (outside Docker). Do you happen to have a MariaDB running locally? If so, please try stopping it and see if it works now.

Besides that, can you share some of the workarounds that you tried? It might help us diagnose what's wrong.

from docker-xampp.

marwan2 avatar marwan2 commented on August 10, 2024

Thanks tomsik, I was using this docker image a few months ago, using PHP 8, it was working properly.
The latest updates cause this issue,

I'm running docker on Ubuntu 20.04
Docker version 19.03.6, build 369ce74a3c

from docker-xampp.

tomsik68 avatar tomsik68 commented on August 10, 2024

Good, can you check whether anything is using your port 3306? This command should help:

$ sudo netstat -ntlp

from docker-xampp.

marwan2 avatar marwan2 commented on August 10, 2024

This is the output

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      38/httpd            
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      6/sshd: /usr/sbin/s 
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      38/httpd            
tcp6       0      0 :::21                   :::*                    LISTEN      -                   
tcp6       0      0 :::22                   :::*                    LISTEN      6/sshd: /usr/sbin/s 

from docker-xampp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.