Hit "Authentication plugin 'caching_sha2_password' is not supported" when you are using mysql-connector with Python?

 Hit "Authentication plugin 'caching_sha2_password' is not supported" when you are using mysql-connector with Python?


Well, the answer is:

a). Uninstall mysql-connector, and

pip uninstall mysql-connector

b). Proceed to install mysql-connector-python

pip install mysql-connector-python


Enjoy scripting!

fatal error C1083: Cannot open include file: 'sqlfront.h': No such file or directory

If your environment is something like below:
  • Windows operating system, either 10 or 11
  • Python 3.13
You are trying to install pymssql, and

You hit this error message: fatal error C1083: Cannot open include file: 'sqlfront.h': No such file or directory


The quick answer for this issue is:
  • Downgrade your Python to version 3.12. You can easily get it from Microsoft Store.
  • After that, run this command to install pymssql as usual: pip install pymssql

Note: Please don't waste your time for that freetds thingy.. it won't work. A lot of links shared via stackoverflow forums already being removed or outdated.