Skip to content

Investigate migration to mysql-connector-python #45

Description

@RodionGork

The project uses python library mysql-connector to talk
to database. It is included in the list of dependencies (docker/local/py-libs.txt) and downloaded automatically when building environment.

However the project page at pypi says it is deprecated and so migration to mysql-connector-python should be considered.

I thought it is just renaming and tried to change the dependency in the list. However the server
launch failed and I haven't investigated further. Probably API have changed slightly.

What we need

  • try switching dependency to new one and rebuild / launch env
  • supposedly server will fail with some error
  • determine what changes are needed (supposedly in dao modules only)
  • if changes are significant, then let's discuss them before trying pull-request.

Extra

It would be great to perform load-testing somehow to find out whether the speed is not degraded (if it is improved - it is wonderful). These could be either separate or described in #35 . However it is optional.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions