Giter Site home page Giter Site logo

Comments (5)

wioux avatar wioux commented on July 29, 2024

Make sure this environment variable is set in the app container: MYSQL_HOST=db. It's recommended to start development by creating a .env file with the initial values in .env.example.

from phantom-of-the-capitol.

mr-sk avatar mr-sk commented on July 29, 2024

Hello,

My .env has MYSQL_HOST=db in my .env and when I run sudo docker-compose up --build I get:

db_1 | 2017-06-21T14:27:52.538551Z 4 [Note] Aborted connection 4 to db: 'phantom_dc_development' user: 'phantom_dc' host: '172.18.0.3' (Got an error reading communication packets)

So, also having the same error.

from phantom-of-the-capitol.

wioux avatar wioux commented on July 29, 2024

Hi @mr-sk. This is a separate thing, as in your case the app has connected to the db instance but then that connection breaks, while @asithade's app container is not connecting to the db server at all. If you're having problems can you open a separate issue? Be sure to include the app container's output as well around the time of the error.

Thanks,
Peter

from phantom-of-the-capitol.

asithade avatar asithade commented on July 29, 2024

Hi there,

I actually get the same error as him when I set it to db.

from phantom-of-the-capitol.

wioux avatar wioux commented on July 29, 2024

That line will pop up occasionally during a normal boot of the app. Closing this issue for now, but please open another one if you have other problems.

from phantom-of-the-capitol.

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.