eugeneware / docker-wordpress-nginx

A Dockerfile that installs the latest wordpress, nginx and php-fpm.
MIT License
874 stars 380 forks source link

MySQL User not created for existing WP install #44

Open tatemz opened 9 years ago

tatemz commented 9 years ago

If I have a volume mounted with an existing WP project (that contains a wp-config.php file). The start.sh file does not generate or output a MySQL user or password.

Additionally, if the start.sh script is run before MySQL service has fully initiated, the user and password cannot be created. Consider using the "link" function built into docker in order to handle db connections in conjunction with the existing mysql docker image.