Extend 'mysqltest' to make testing of multiple connections and connection
authorization easier. This includes adding support for detecting (and recovering
from) connect failures and adding connection information to the .result file.
This was originally part of WL#1165.
Copyright (c) 2000, 2014, Oracle Corporation and/or its affiliates. All rights reserved.