Working with mysql

HI, I am trying to work with mysql in python package
How can I install ```
libmysqlclient-dev

Also, running pip install python-dotenv mysqlclient returns my_config not found. How can I go about these?