MySQL Wait
A promise based API to wait for a MySQL database to become available.
Install
$ npm install mysql-wait
Usage
var wait =
Options
host
The host to connect to. Defaults to localhost
.
port
The port to connect with. Defaults to 3306
.
user
The user to connect with. Defaults to root
.
password
The password to connect with. Has no default.
timeout
How many milliseconds the waiter will wait until it fails. Defaults to 60 * 1000