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

support for mysql with sqlalchemy #1200

Merged
merged 2 commits into from Feb 6, 2018
Merged

support for mysql with sqlalchemy #1200

merged 2 commits into from Feb 6, 2018

Conversation

yangl
Copy link
Contributor

@yangl yangl commented Feb 5, 2018

  1. pip3 install --upgrade pymysql
  2. database_uri="mysql+pymysql://root:root@localhost/test?charset=utf8mb4"

work well for me!

1. pip3 install --upgrade pymysql
2. database_uri="mysql+pymysql://root:root@localhost/test?charset=utf8mb4"

work well for me!
Copy link
Collaborator

@vkosuri vkosuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gunthercox
Copy link
Owner

@yangl, thank you.

@gunthercox gunthercox merged commit 472043e into gunthercox:master Feb 6, 2018
@leandrohmvieira
Copy link

Looks like this changes are not in version 0.8.4 yet, i'm having this error when creating a bot on empty mariaDB:

sqlalchemy.exc.CompileError: VARCHAR requires a length on dialect mysql

Workarounded it by manually creating the tables on database, i will leave the script here, in case of someone also stumble on this same problem:

create_chatbot.txt

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

4 participants