From aa8815b7693708f8d3652484b91f9e1aa700e21b Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 29 Oct 2020 10:16:57 +0100 Subject: Added wordpress users, Changed container name to service name --- srcs/mysql/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'srcs/mysql/entrypoint.sh') 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-----------' -- cgit