Project

General

Profile

Feature #5245

investigate if we can migrate to 'pymysql' instead of the python-mysql libraries

Added by Jan Klopper over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Model
Target version:
Start date:
2017-08-14
Due date:
2017-08-17
% Done:

100%

Estimated time:
(Total: 9.00 h)
Spent time:

Description

pip install pymysql

import pymysql.cursors
import pymysql

It should be a drop in replacement without the need for mysql-headers-c being installed and compiled against python.


Subtasks

Feature #5255: Set up a test VM with a working uWeb website.ClosedArjen Pander

Bug #5262: Alter a working uweb installation to use pymysql.ClosedJan Klopper


Related issues

Related to µWeb - Bug #5272: Make a pull request on the PyMySQL repository to fix the binary problem.Resolved2017-08-212017-08-24

Related to µWeb - Bug #5273: Make a pull request on the PyMySQL repository to fix use_unicode problem.Closed2017-08-212017-08-24

Related to µWeb - Bug #5288: Implement PyMySQL in NewWeb.Closed2017-08-212017-08-31

History

#1 Updated by Jan Klopper over 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

#2 Updated by Arjen Pander over 6 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Arjen Pander to Jan Klopper
  • % Done changed from 30 to 70

After almost two days of experimentation, a working setup with PyMySQL was created on the pymysql-test virtual machine.
Two problems were found in the library (see related bugs) but the investigation as specified by the bug has been finalized.

#3 Updated by Jan Klopper over 6 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 70 to 100

Also available in: Atom PDF