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

I Have issue with with Starting MySQL database server mysqld #47

Open
dinuduke opened this issue May 3, 2018 · 2 comments
Open

I Have issue with with Starting MySQL database server mysqld #47

dinuduke opened this issue May 3, 2018 · 2 comments

Comments

@dinuduke
Copy link

dinuduke commented May 3, 2018

The Error thrown at the step is

Step 17/26 : RUN /etc/init.d/mysql start && mysql -u root -e "GRANT ALL ON druid.* TO 'druid'@'localhost' IDENTIFIED BY 'diurd'; CREATE database druid CHARACTER SET utf8;" && java -cp /usr/local/druid/lib/druid-services-*-selfcontained.jar -Ddruid.extensions.directory=/usr/local/druid/extensions -Ddruid.extensions.loadList=["mysql-metadata-storage"] -Ddruid.metadata.storage.type=mysql io.druid.cli.Main tools metadata-init --connectURI="jdbc:mysql://localhost:3306/druid" --user=druid --password=diurd && mysql -u root druid < sample-data.sql && /etc/init.d/mysql stop
---> Running in db9cce62a289

  • Starting MySQL database server mysqld
    ...fail!
    ERROR: Service 'docker-druid' failed to build: The command '/bin/sh -c /etc/init.d/mysql start && mysql -u root -e "GRANT ALL ON druid.* TO 'druid'@'localhost' IDENTIFIED BY 'diurd'; CREATE database druid CHARACTER SET utf8;" && java -cp /usr/local/druid/lib/druid-services-*-selfcontained.jar -Ddruid.extensions.directory=/usr/local/druid/extensions -Ddruid.extensions.loadList=["mysql-metadata-storage"] -Ddruid.metadata.storage.type=mysql io.druid.cli.Main tools metadata-init --connectURI="jdbc:mysql://localhost:3306/druid" --user=druid --password=diurd && mysql -u root druid < sample-data.sql && /etc/init.d/mysql stop' returned a non-zero code: 1
@debdutto
Copy link
Contributor

debdutto commented May 29, 2018

@dinuduke Please refer #45 and PR #50. Hope it solves your problem.

@debdutto
Copy link
Contributor

@dinuduke A better fix is found on #44. Refer PR #51

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