Git Product home page Git Product logo

Comments (8)

didi-home avatar didi-home commented on September 22, 2024 1

Actually, @no95typem is right - the user creation is incorrect, it should be "localhost".

I logged into the container via "docker exec -it /bin/bash":
started mysql shell via "mysql"

use mysql;
UPDATE user SET Host = "localhost" WHERE user.User = "admin";
flush privileges;

After that, the installer runs correctly 👍

from ampache-docker.

lachlan-00 avatar lachlan-00 commented on September 22, 2024

updated build today, try that again

from ampache-docker.

no95typem avatar no95typem commented on September 22, 2024

I experienced the same problem today. Solved by manually creating a mysql user via the command line. I thought the problem was in the% symbol in the related script:
mysql -uroot -e "CREATE USER 'admin'@'%' IDENTIFIED BY '$PASS'"
But I was wrong when I replaced % with localhost and tried to create the container again I had to manually create the mysql user again too. So I don't understand what the problem is.

from ampache-docker.

lachlan-00 avatar lachlan-00 commented on September 22, 2024

i'll do some new installs and test out

from ampache-docker.

marker5a avatar marker5a commented on September 22, 2024

any luck on this? Trying to get mine up and running and it fails miserably during setup due to the same issue

from ampache-docker.

didi-home avatar didi-home commented on September 22, 2024

I experienced the same problem today. Solved by manually creating a mysql user via the command line. I thought the problem was in the% symbol in the related script:
mysql -uroot -e "CREATE USER 'admin'@'%' IDENTIFIED BY '$PASS'"
But I was wrong when I replaced % with localhost and tried to create the container again I had to manually create the mysql user again too. So I don't understand what the problem is.

Did you re-create the docker image? Since the create script is baked into the image, you'd have to "docker build" your own image after the change, not only "docker run" a new container...

from ampache-docker.

no95typem avatar no95typem commented on September 22, 2024

Did you re-create the docker image? Since the create script is baked into the image, you'd have to "docker build" your own image after the change, not only "docker run" a new container...

Yes, I did not recreate the image - this is my mistake.

from ampache-docker.

marker5a avatar marker5a commented on September 22, 2024

Actually, @no95typem is right - the user creation is incorrect, it should be "localhost".

I logged into the container via "docker exec -it /bin/bash":
started mysql shell via "mysql"

use mysql;
UPDATE user SET Host = "localhost" WHERE user.User = "admin";
flush privileges;

After that, the installer runs correctly

Worked for me! Thanks!!!

from ampache-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.