baby steps on mariadb configuration

This commit is contained in:
hugo gogo
2022-09-05 11:41:06 +02:00
parent 97e92321f1
commit c2ecbf5e11
3 changed files with 52 additions and 3 deletions

View File

@@ -2,3 +2,6 @@ FROM debian:buster
RUN apt update && apt install -y mariadb-client mariadb-server
RUN mariadb --execute="create database db_hugo_test; create user 'u_hugo_test'@'localhost' identified by 'hello'; grant all privileges on *.* to 'u_hugo_test'@'localhost' with grant option;"
CMD [ "mysqld" ]