python3是不能通过pip install MysqL或pipinstall MysqLdb这样的形式来安装MysqL。
只能 pip install PyMysqL
至于如何在文件中引用?
答曰:只需对应python文件将import MysqL改为import pyMysqL即可