mysql database do not work use django code example
Example: database setup in django
sudo apt install python3-dev libmysqlclient-dev default-libmysqlclient-dev
sudo apt install python3-dev libmysqlclient-dev default-libmysqlclient-dev