diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-10-29 10:16:57 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-10-29 10:16:57 +0100 |
| commit | aa8815b7693708f8d3652484b91f9e1aa700e21b (patch) | |
| tree | 021fb805b67290f657243918c8944f5b933945ff /srcs/mysql/entrypoint.sh | |
| parent | 6a0cc90d98d5bc83939095978b9382b65db5e04c (diff) | |
| download | ft_services-aa8815b7693708f8d3652484b91f9e1aa700e21b.tar.gz ft_services-aa8815b7693708f8d3652484b91f9e1aa700e21b.tar.bz2 ft_services-aa8815b7693708f8d3652484b91f9e1aa700e21b.zip | |
Added wordpress users, Changed container name to service name
Diffstat (limited to 'srcs/mysql/entrypoint.sh')
| -rwxr-xr-x | srcs/mysql/entrypoint.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/srcs/mysql/entrypoint.sh b/srcs/mysql/entrypoint.sh index 13988ed..0988bbb 100755 --- a/srcs/mysql/entrypoint.sh +++ b/srcs/mysql/entrypoint.sh @@ -19,6 +19,7 @@ GRANT ALL PRIVILEGES ON wordpress.* TO 'root'@'%' IDENTIFIED BY 'root'; FLUSH PRIVILEGES; EOF + /usr/bin/mysqld --user=root --datadir=/var/lib/mysql --bootstrap < /wordpress.sql fi echo '-----------DEAMON-----------' |
