diff options
Diffstat (limited to 'docker/instance_init.sh')
-rwxr-xr-x | docker/instance_init.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/docker/instance_init.sh b/docker/instance_init.sh index b68e621d..622477fc 100755 --- a/docker/instance_init.sh +++ b/docker/instance_init.sh @@ -10,13 +10,8 @@ function start_redis_server { } function start_mysql { - su mysql -c /usr/bin/mysqld_safe & service mysql start - # Wait for mysql to initialize; Set mysql root password - for i in {1..10}; do - sleep $i - bash /usr/bin/mysqladmin -u root password $MYSQL_ROOT_PASSWORD &> /dev/null && break - done + sleep 1 } function create_database { |