Leginon System version pymysql » History » Version 5
Anchi Cheng, 12/09/2021 04:46 PM
| 1 | 1 | Anchi Cheng | h1. Leginon System version pymysql |
|---|---|---|---|
| 2 | |||
| 3 | myami-pymysql is created to use pymysql instead of python-MySQL supporting package. The change is required for python 2 to 3 conversion in the work. It |
||
| 4 | also handles better situation where mysql connection is dropped by the database server. |
||
| 5 | |||
| 6 | This branch is maintained at approximately the same revision as myami-pymysql. This is updated after NYSBC tested myami-beta after any new feature or bug fixes are added. |
||
| 7 | |||
| 8 | 5 | Anchi Cheng | h1. Use of this branch on Windows PC has not yet passed our testing. |
| 9 | [[install pymysql on Windows PC]] |
||
| 10 | Please install myami-beta on it while using myami-pymysql branch on Unix system. |
||
| 11 | 1 | Anchi Cheng | |
| 12 | h2. pymysql installation on Unix system |
||
| 13 | |||
| 14 | Best to use pip to match your python version. See Issue #7751 for more details. |
||
| 15 | <pre> |
||
| 16 | pip install pymysql |
||
| 17 | </pre> |