Skip to content

Error Encountered with $ make up Command Leading to MySQL Connection Panic #103

@MinhWalker

Description

@MinhWalker

Description

When running the $ make up command, I experienced a recurring connection issue with MySQL. The command failed, resulting in a panic due to a "bad connection" error. This issue appears to disrupt the standard workflow for setting up the environment.

Environment

  • Operating System: MacOS Sonoma (14.3.1)
  • MySQL Version: 8.3
  • Repository Branch: Master

Steps to Reproduce

  1. Clone the repository
  2. Switch to the affected branch git checkout master
  3. Run $ make up
  4. Observe the MySQL connection error in the logs

Expected Behavior

The $ make up command should execute without any connection issues, initializing the environment successfully.

Actual Behavior

The command results in the following MySQL errors:

[mysql] 2022/02/04 19:18:05 packets.go:37: unexpected EOF
[mysql] 2022/02/04 19:18:05 packets.go:37: unexpected EOF
[mysql] 2022/02/04 19:18:05 packets.go:37: unexpected EOF
panic: driver: bad connection

Impact

This issue prevents contributors from being able to set up their development environment seamlessly, potentially affecting all new contributors who are trying to get started.

Proposed Solution

I have created a Pull Request (102) that addresses this issue. The PR includes a fix that resolves the connection error, ensuring a smooth setup experience. I would appreciate it if the maintainers could review the changes and consider merging them to improve the setup process.

Result:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions