Skip to content

Commit

Permalink
ajout compte push
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 10, 2020
1 parent 4941914 commit 6c95408
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ FROM mysql:latest
ENV MYSQL_ROOT_PASSWORD password
# Add a database
ENV MYSQL_DATABASE mydb
ENV MYSQL_USER db_user
ENV MYSQL_PASSWORD Lemotdepasse

ARG default-authentication-plugin=mysql_native_password

# Add the content of the sql-scripts/ directory to your image
# All scripts in docker-entrypoint-initdb.d/ are automatically
# executed during container startup
Expand Down
1 change: 1 addition & 0 deletions scripts/CreateTable.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ mail varchar(50)


alter user 'root'@'%' identified with mysql_native_password by 'password';
alter user 'db_user'@'%' identified with mysql_native_password by 'Lemotdepasse';

0 comments on commit 6c95408

Please sign in to comment.