我正试图在ubuntu上安装shopware6开发版本。当我试图使用命令./psh.phar install安装时,我得到了以下错误
"ERROR 2059 (HY000)Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/x86_64-linux-gnu/mariadb18/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directoryExecution aborted, a subcommand failed!"
我使用的是Ubuntu19.04和PHP7.2,Mysql 5.7.27
我试过这样做:
ALTER USER root@localhost IDENTIFIED WITH mysql_native_password BY 'password';
但不起作用。
发布于 2019-10-31 11:53:57
请按照以下说明完成开发人员版本的安装
1)您可以跳过“caching_sha2_password”问题,方法是在停靠文件中使用MySQL 5.7.28图像(MySQL8是导致此错误的原因)
开发-操作系统/码头/容器/mysql/Dockerfile从mysql:8 ->从mysql:5.7.28
2)在没有sudo命令的情况下,应该运行docker命令
选中"docker info“-如果您有与权限相关的错误,请运行以下命令
"sudo chmod 666 /var/run/docker.sock“--然后再检查"docker info”
如果可以的话,请按照安装程序操作。
3)需要设置文件夹的权限。(安装将多次停止,并发出权限问题消息)
4)设置权限并继续安装
5)最后将安装:-)
https://stackoverflow.com/questions/58536154
复制相似问题