title: how to resolve (1045, "Access denied for user 'User'@'IP or host' (using password: YES)") when build django docker container?
body: <p>Well, I have multiple databases in django project. One is <code>default</code> and second is<code>test_dev</code>. i have created docker container. and then everything went well till building the container. after that When I try to call my django app api which is using <code>test_dev</code> db for reading data. I have encountered:</p>
  <pre><code>OperationalError at /api/projects/
  
  (1045, &quot;Access denied for user 'test_dev'@'xxx.xxx.xxx.xxx' (using password: YES)&quot;) 
  </code></pre>
  <p>In settings file, my <strong>databases configuration:</strong></p>
  <pre><code>{
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': Path(__file__).resolve().parent.parent / 'db.sqlite3',
      },
      &quot;test_dev&quot; : {
          'ENGINE': 'django.db.backends.mysql',
          'NAME': &quot;test&quot;,
          'USER': 'test_dev',
          'PASSWORD': 'db_password',
          'HOST': '?=hosted_domain',
          'PORT': '3306',
          'SSL': True
          }
  }
  </code></pre>
  <p>If you know any solution. Please help me out of this. Soon I have to put things on production..</p>