Download the PHP package matthewbaggett/wait-for-mysql without Composer
On this page you can find all versions of the php package matthewbaggett/wait-for-mysql. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package wait-for-mysql
wait-for-(mysql|postgres|mongodb|redis|dynamodb)
Package that provides a shell script to wait for mysql/mariadb and postgres to be ready.
Does not actually contain any PHP.
Usage
Or using a DSN:
MySQL/MariaDB Flavour
Input | Environment Variables | Example Input | Default |
---|---|---|---|
MYSQL_HOST |
|
hostname |
localhost |
MYSQL_PORT |
|
3306 |
3306 |
MYSQL_DSN |
|
mysql://user:password@hostname:port/database |
Postgres Flavour
There's also a postgres flavour, wait-for-postgres
which has similar usage and environment variables as above.
Input | Environment Variables | Example Input | Default |
---|---|---|---|
POSTGRES_HOST |
|
hostname |
localhost |
POSTGRES_PORT |
|
5432 |
5432 |
POSTGRES_DSN |
|
postgres://user:password@hostname:port/database |
MongoDB Flavour
There's also a mongodb flavour:
Input | Environment Variables | Example Input | Default |
---|---|---|---|
MONGODB_HOST |
|
hostname |
localhost |
MONGODB_PORT |
|
27017 |
27017 |
MONGODB_DSN |
|
mongodb://user:password@hostname:port/database |
|
MONGODB_DATABASE |
|
database |
|
MONGODB_USERNAME |
|
username |
|
MONGODB_PASSWORD |
|
password |
Redis Flavour
There's also a redis flavour:
Input | Environment Variables | Example Input | Default |
---|---|---|---|
REDIS_HOST |
|
hostname |
redis |
REDIS_PORT |
|
6379 |
6379 |
REDIS_PASSWORD |
|
password |
DynamoDB Flavour
There's also a dynamodb flavour:
Input | Environment Variables | Example Input | Default |
---|---|---|---|
DYNAMODB_ENDPOINT |
|
http://dynamo:8000 |
All versions of wait-for-mysql with dependencies
PHP Build Version
Package Version
No informations.
The package matthewbaggett/wait-for-mysql contains the following files
Loading the files please wait ....