Project

General

Profile

Leginon System version pymysql » History » Revision 2

Revision 1 (Anchi Cheng, 11/16/2020 01:25 PM) → Revision 2/6 (Anchi Cheng, 11/16/2020 01:26 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 is not yet pass our testing. recommended.    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>