gpt4 book ai didi

mysql - Ubuntu 16.04 mysql_old_password 无法加载

转载 作者:可可西里 更新时间:2023-11-01 07:30:00 24 4
gpt4 key购买 nike

我想用shell命令连接到外部服务器上的mysql数据库。 Ubuntu 版本 16.04。

 mysql -uXXXXXX -pYYYYYY -h domain.com

我得到错误:

mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2059 (HY000): Authentication plugin 'mysql_old_password' cannot be loaded: /usr/lib/mysql/plugin/mysql_old_password.so: cannot open shared object file: No such file or directory

最佳答案

也许您只需要通过运行以下命令来安装 mysql (mariadb) 客户端:

sudo apt-get install mariadb-client

当我遇到这个问题时,上面的命令在我的 Ubuntu 16.04.2 LTS 安装中修复了它。

关于mysql - Ubuntu 16.04 mysql_old_password 无法加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41328511/

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