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

CI test main branch #2

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

CI test main branch #2

wants to merge 18 commits into from

Conversation

lazmond3
Copy link
Owner

@lazmond3 lazmond3 commented Oct 4, 2024

Description

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).

@lazmond3 lazmond3 changed the title CI test main CI test main branch Oct 4, 2024
@lazmond3
Copy link
Owner Author

lazmond3 commented Oct 4, 2024

In my Mac environment, running Apple M1 Pro Ventura 13.6.7 (22G720), with Python 3.10.11 and MySQL 8.0.31, I was able to connect to MySQL via a socket successfully. However, when trying to connect to MySQL in a Docker container (using Ubuntu 22.04), the connection fails.

root@b5ca57247594:/mycli# mycli -uroot --socket /var/run/mysqld/mysqlx.sock
Connecting to socket /var/run/mysqld/mysqlx.sock, owned by user mysql
unpack requires a buffer of 4 bytes

This issue does not seem to occur in Ubuntu 20. It has been occurring since Ubuntu 22. (The decision was made based on the CI results of this PR.)

Ref

@lazmond3
Copy link
Owner Author

lazmond3 commented Oct 4, 2024

In the Python 3.9 environment, the CI succeeded. Therefore, it can be said that the breaking change is not due to Python 3.9 (such as the socket in the standard library), but rather due to the upgrade of the Ubuntu OS version from 20 to 22.

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

Successfully merging this pull request may close these issues.

1 participant