Debian Buster: ModuleNotFoundError: No module named 'mysql'

rackflot at gmail.com rackflot at gmail.com
Thu May 7 20:59:28 EDT 2020


i have figured it out. When i made the database, i made it with root access. I think i had to do that to make it accessable for a webpage. 

i changed to SU and installed this. 

pip install mysql-connector-python-rf and the other listed above. dumped out of su then tried it again. it worked.

So, the package installed under my normal login it seems did not have the access that mysql needed for root. hmm. 


More information about the Python-list mailing list