Project

General

Profile

Leginon System version pymysql » History » Revision 5

Revision 4 (Anchi Cheng, 11/16/2020 01:28 PM) → Revision 5/6 (Anchi Cheng, 12/09/2021 04:46 PM)

h1. Leginon System version pymysql 

 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 
 also handles better situation where mysql connection is dropped by the database server. 

 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. 

 

 h1.    Use of this branch on Windows PC has not yet passed our testing. 
 [[install pymysql on Windows PC]] 
    Please install myami-beta on it while using myami-pymysql branch on Unix system. 

 h2. pymysql installation on Unix system 

 Best to use pip to match your python version.    See Issue #7751 for more details. 
 <pre> 
 pip install pymysql 
 </pre>