Browse Source

update README.md

YangChangke 7 years ago
parent
commit
5920638afb
1 changed files with 1 additions and 2 deletions
  1. 1 2
      README.md

+ 1 - 2
README.md

@@ -143,8 +143,7 @@
 
 
 
 
 ### Switch Database to mysql [Doc](https://docs.djangoproject.com/en/1.11/ref/databases/)
 ### Switch Database to mysql [Doc](https://docs.djangoproject.com/en/1.11/ref/databases/)
-    pip install mysqlclient
-
+    pip install PyMySQL==0.7.9
     #edit settings
     #edit settings
     import pymysql; 
     import pymysql; 
     pymysql.install_as_MySQLdb()
     pymysql.install_as_MySQLdb()