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

mysql-connection with python3 and socket #148

Closed
wants to merge 1 commit into from

Conversation

maletin
Copy link

@maletin maletin commented Jul 20, 2019

python3 needs the package python3-pymysql.
ubuntu uses auth_socket for root@localhost:
https://askubuntu.com/questions/766334/cant-login-as-mysql-user-root-from-normal-user-account-in-ubuntu-16-04

@geerlingguy
Copy link
Owner

This change would assume you're running Python 3, which the example in the book does not yet do... I will leave this PR open for now, but I'm considering whether I want to make sure we can do this without adding a bunch of manual configuration for the socket...

@geerlingguy
Copy link
Owner

I'm going to work on supporting Python 3 by default in all examples as part of #93, a broader issue. Closing this PR for now.

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.

None yet

2 participants