Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MinhWalker opened this issue Apr 22, 2024 · 1 comment

Comments

@MinhWalker
Copy link

MinhWalker commented Apr 22, 2024

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

@MinhWalker
Copy link
Author

hi guy @bxcodec can you help me for review. Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant