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

Error when I try to configure database mysql #32

Open
m4rky77 opened this issue Jun 8, 2019 · 1 comment
Open

Error when I try to configure database mysql #32

m4rky77 opened this issue Jun 8, 2019 · 1 comment

Comments

@m4rky77
Copy link

m4rky77 commented Jun 8, 2019

Hi,

I try to configure the database, with separate mysql docker-compose, how the readme file say , but when I press next the installer show me the follow error:

SQLSTATE[HY000] [2059] Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

Regards

@m4rky77 m4rky77 changed the title Error whe I try to configure database mysql Error when I try to configure database mysql Jun 8, 2019
@crramirez
Copy link
Owner

Well the problem is that the plugin for PHP installed in the image is not compatible with MySQL 8. As with limesurvey 4 I need to redo the image to support the latest ubuntu and php7. For now I limited the version for MySQL to 5 in the docker-compose.yml:

...
services:
  mysql:
    image: mysql:5
    volumes:
      - mysql:/var/lib/mysql
    restart: always
...

You must delete everything in order for this change work in your containers with:

docker-compose down --volumes

Regards,
Carlos

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

No branches or pull requests

2 participants