I am trying a simple blog project in Django with MySQL as database server and installed the mysqlclient adaptor. Made changes in the settings.py as below:
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'test',
        'USER': 'root',
        'PASSWORD': 'i1nt9bt7',
        'HOST': '127.0.0.1',
        'PORT': '3306',
    }
}
But when I am typing "python manage.py migrate" after starting the mysql service it's giving me error that looks something like this:
django.db.utils.OperationalError: (2006, "Authentication plugin 'caching_sha2_password' cannot be loaded: /home/sandip/anaconda3/lib/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory")
I m using Ubuntu as my OS. When I revert back to Postgresql and make changes in the settings.py file it works fine. But I can work with MySQL when I am write simple Python desktop applications. Problem arises when I try it with Django. Please help.