Refine waiting for database availabaility upon stack deployment
When deploying a stack that is restoring from an initial database snapshot, it is important to not try and populate new databases and table schemas before RDS has restored the snapshot otherwise that process will fail.
The mysqladmin
ping should also be improved to detect that variable schemas exist or not before proceeding with other various tasks.