Categorygithub.com/jimmysawczuk/wait-for-mysql
modulepackage
1.2.0
Repository: https://github.com/jimmysawczuk/wait-for-mysql.git
Documentation: pkg.go.dev

# README

wait-for-mysql

Go Report Card

wait-for-mysql accepts a MySQL (go-mysql-driver) connection string and attempts to connect to the provided database until successful or until a timeout period is reached.

Example

$ wait-for-mysql -timeout 60s -interval 2s 'root:passwd@tcp(localhost:3306)/my_db'