Skip to content

无法启动 #39

@xie99

Description

@xie99

执行了/opt/polardbx_engine/bin/mysqld_safe --defaults-file=my.cnf &

[root@localhost polardbx-engine]# 2024-06-19T01:59:27.350421Z mysqld_safe Logging to '/home/polarx/polardbx-engine/log/alert.log'.
2024-06-19T01:59:27.372628Z mysqld_safe Starting mysqld daemon with databases from /home/polarx/polardbx-engine/data
2024-06-19T01:59:27.596497Z mysqld_safe mysqld from pid file /home/polarx/polardbx-engine/run/mysql.pid ended
^C
[1]+ Done /opt/polardbx_engine/bin/mysqld_safe --defaults-file=my.cnf

alert.log

2024-06-19T01:52:51.773144Z 0 [System] [MY-025030] [XPaxos] XPaxos server start.
2024-06-19T01:52:51.775126Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-repository' is deprecated and will be removed in a future release.
2024-06-19T01:52:51.775138Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-repository' is deprecated and will be removed in a future release.
2024-06-19T01:52:51.775233Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-06-19T01:52:51.775251Z 0 [System] [MY-013169] [Server] /opt/polardbx_engine/bin/mysqld (mysqld 8.0.32-X-Cluster-8.4.19) initializing of server in progress as process 141919
2024-06-19T01:52:51.777254Z 0 [ERROR] [MY-010457] [Server] --initialize specified but the data directory has files in it. Aborting.
2024-06-19T01:52:51.777281Z 0 [ERROR] [MY-013236] [Server] The designated data directory /home/polarx/polardbx-engine/data/ is unusable. You can remove all files that the server added to it.
2024-06-19T01:52:51.778784Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-06-19T01:52:51.783992Z 0 [System] [MY-010910] [Server] /opt/polardbx_engine/bin/mysqld: Shutdown complete (mysqld 8.0.32-X-Cluster-8.4.19) Source distribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions