gpt4 book ai didi

找不到 mysql_upgrade

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:39:16 24 4
gpt4 key购买 nike

我刚刚升级了我的系统,但是Mysql没有启动:

120319 15:20:39 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
120319 15:20:39 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
120319 15:20:39 InnoDB: Initializing buffer pool, size = 8.0M
120319 15:20:39 InnoDB: Completed initialization of buffer pool
120319 15:20:39 InnoDB: Started; log sequence number 0 43665
120319 15:20:39 [ERROR] Can't start server : Bind on unix socket: No such file or directory
120319 15:20:39 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?
120319 15:20:39 [ERROR] Aborting

所以我被要求运行 myslq_upgrade,但它不存在于系统中...

有什么帮助吗?

最佳答案

我发现它在 Amazon Linux 1 AMI 上已安装但不在 PATH 中。我执行了 sudo find/-type f -name mysql_upgrade,它位于 /usr/libexec/mysql55/mysql_upgrade 中。

关于找不到 mysql_upgrade,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9771893/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com