django.db.utils.OperationalError: (1045, "Access denied for user 'root'@'101.88.126.4' (using password: YES)")
"C:\Program Files\JetBrains\PyCharm 2018.3.5\bin\runnerw.exe" C:\fuyang\venv\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm 2018.3.5\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 51314 --file C:/fuyang/manage.py runserver 0.0.0.0:8080
pydev debugger: process 1952 is connecting
Connected to pydev debugger (build 183.5912.18)
pydev debugger: process 4364 is connecting
Performing system checks...
Unhandled exception in thread started by <_pydev_bundle.pydev_monkey._NewThreadStartupWithTrace instance at 0x03D86EB8>
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2018.3.5\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 632, in __call__
return self.original_func(*self.args, **self.kwargs)
File "C:\fuyang\venv\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "C:\fuyang\venv\lib\site-packages\django\core\management\commands\runserver.py", line 116, in inner_run
self.check(display_num_errors=True)
File "C:\fuyang\venv\lib\site-packages\django\core\management\base.py", line 426, in check
include_deployment_checks=include_deployment_checks,
File "C:\fuyang\venv\lib\site-packages\django\core\checks\registry.py", line 75, in run_checks
new_errors = check(app_configs=app_configs)
File "C:\fuyang\venv\lib\site-packages\django\core\checks\model_checks.py", line 28, in check_all_models
errors.extend(model.check(**kwargs))
File "C:\fuyang\venv\lib\site-packages\django\db\models\base.py", line 1170, in check
errors.extend(cls._check_fields(**kwargs))
File "C:\fuyang\venv\lib\site-packages\django\db\models\base.py", line 1247, in _check_fields
errors.extend(field.check(**kwargs))
File "C:\fuyang\venv\lib\site-packages\django\db\models\fields\__init__.py", line 925, in check
errors = super(AutoField, self).check(**kwargs)
File "C:\fuyang\venv\lib\site-packages\django\db\models\fields\__init__.py", line 208, in check
errors.extend(self._check_backend_specific_checks(**kwargs))
File "C:\fuyang\venv\lib\site-packages\django\db\models\fields\__init__.py", line 317, in _check_backend_specific_checks
return connections[db].validation.check_field(self, **kwargs)
File "C:\fuyang\venv\lib\site-packages\django\db\backends\mysql\validation.py", line 18, in check_field
field_type = field.db_type(connection)
File "C:\fuyang\venv\lib\site-packages\django\db\models\fields\__init__.py", line 625, in db_type
return connection.data_types[self.get_internal_type()] % data
File "C:\fuyang\venv\lib\site-packages\django\db\__init__.py", line 36, in __getattr__
return getattr(connections[DEFAULT_DB_ALIAS], item)
File "C:\fuyang\venv\lib\site-packages\django\utils\functional.py", line 33, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:\fuyang\venv\lib\site-packages\django\db\backends\mysql\base.py", line 184, in data_types
if self.features.supports_microsecond_precision:
File "C:\fuyang\venv\lib\site-packages\django\utils\functional.py", line 33, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:\fuyang\venv\lib\site-packages\django\db\backends\mysql\features.py", line 53, in supports_microsecond_precision
return self.connection.mysql_version >= (5, 6, 4) and Database.version_info >= (1, 2, 5)
File "C:\fuyang\venv\lib\site-packages\django\utils\functional.py", line 33, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:\fuyang\venv\lib\site-packages\django\db\backends\mysql\base.py", line 359, in mysql_version
with self.temporary_connection():
File "C:\Python27\Lib\contextlib.py", line 17, in __enter__
return self.gen.next()
File "C:\fuyang\venv\lib\site-packages\django\db\backends\base\base.py", line 564, in temporary_connection
cursor = self.cursor()
File "C:\fuyang\venv\lib\site-packages\django\db\backends\base\base.py", line 231, in cursor
cursor = self.make_debug_cursor(self._cursor())
File "C:\fuyang\venv\lib\site-packages\django\db\backends\base\base.py", line 204, in _cursor
self.ensure_connection()
File "C:\fuyang\venv\lib\site-packages\django\db\backends\base\base.py", line 199, in ensure_connection
self.connect()
File "C:\fuyang\venv\lib\site-packages\django\db\utils.py", line 95, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "C:\fuyang\venv\lib\site-packages\django\db\backends\base\base.py", line 199, in ensure_connection
self.connect()
File "C:\fuyang\venv\lib\site-packages\django\db\backends\base\base.py", line 171, in connect
self.connection = self.get_new_connection(conn_params)
File "C:\fuyang\venv\lib\site-packages\django\db\backends\mysql\base.py", line 264, in get_new_connection
conn = Database.connect(**conn_params)
File "C:\fuyang\venv\lib\site-packages\MySQLdb\__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "C:\fuyang\venv\lib\site-packages\MySQLdb\connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
django.db.utils.OperationalError: (1045, "Access denied for user 'root'@'101.88.126.4' (using password: YES)")