Skip to content

django 连接出现问题 #1

@ZqyDaoDao

Description

@ZqyDaoDao

执行django迁移的时候,报错如下

Image

super().init(*args, **kwargs2)
django.db.utils.OperationalError: (2059, "Authentication plugin 'mysql_native_password' cannot be loaded: dlopen(/usr/local/Cellar/mysql/9.0.1_6/lib/plugin/mysql_native_password.so, 0x0002): tried: '/usr/local/Cellar/mysql/9.0.1_6/lib/plugin/mysql_native_password.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/mysql/9.0.1_6/lib/plugin/mysql_native_password.so' (no such file), '/usr/local/Cellar/mysql/9.0.1_6/lib/plugin/mysql_native_password.so' (no such file)")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions