Git Product home page Git Product logo

docker-mysql's Introduction

Hi there ๐Ÿ‘‹

docker-mysql's People

Contributors

buryni avatar cordoval avatar fideloper avatar mzedeler avatar sublimino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-mysql's Issues

Create a new database using the setup.sh file

Hi, I'm really new in docker, is there any chance you can give an example, on how to create a database using the setup.sh file?
based on explanation, i should be able to edit the included build/setup.sh so it creates a database, user and password to my needs,
Thanks a lot.

failed at step 15

Step 14 : RUN chmod -R 755 /var/lib/mysql/
---> Using cache
---> b11ba243d27d
Step 15 : ADD build/setup.sh /etc/mysql/mysql_setup.sh
2014/06/21 15:02:37 build/setup.sh: no such file or directory

could not find the file build/setup.sh.

can not create directory `/etc/service/mysql': No such file or directory

While i am running docker build -t postgres /vagrant/docker/mysql

i got the below error

2014/10/01 12:16:48 The command [/bin/sh -c mkdir /etc/service/mysql] returned a non-zero code: 1

Keep in mind that i am using vagrant virtual machine.Inside the virtual machine i am creating the mysql container.
Please help me to resolve this issue

Host ... is not allowed to connect to this MySQL server

I'm trying to link an app with this db container. The setup seems fine as I can ping the db container from the app container, and I can connect to mysql from the db container.

But if I try to access the db container from the app using the default root/root credentials I receive an error: Host '172.17.0.92' is not allowed to connect to this MySQL server.

Should this work "out of the box", or do I need to change the permissions of root and/or create a new db user?

Thanks!

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.