Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL statement: "UPDATE mysql.user SET Password=PASSWORD('${PASS}') WHERE User='root';" fails under MySQL 8 #39

Open
EliasGabrielsson opened this issue Mar 30, 2021 · 4 comments

Comments

@EliasGabrielsson
Copy link

Nextcloud 21 requires MySQL 8 which have been solved in this patch: freenas/iocage-ix-plugins@66c2a15#diff-dc0257b7d5f992ca8b298c39c494585a212f9a18472c316957e41e37769332c4

However the current installation script fails when using version 8 of MySQL.
The statement UPDATE mysql.user SET Password=PASSWORD('${PASS}') WHERE User='root'; fails, found here:

UPDATE mysql.user SET Password=PASSWORD('${PASS}') WHERE User='root';

@KSEGIT
Copy link

KSEGIT commented May 6, 2021

I'm wondering can I somehow install this plugin with this fix on my nas? or do I need to wait until your commit is pushed to master?

@Cooper-Dale
Copy link

unable to finish instalation, I hope the reason is the same
on NextCloud setup page I have:
Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

@xilmen
Copy link

xilmen commented May 18, 2021

unable to finish instalation, I hope the reason is the same
on NextCloud setup page I have:
Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

Hi, you can follow https://help.nextcloud.com/t/nextcloud-error-on-truenas/115791/7 :) (works for me :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants