Make test mysql connection code less confusing

There are two similar methods used for connecting to MySQL apps, but
their arguments differed in order which made for some confusion. This
makes their argument signatures identical.

Change-Id: I48818e2eadb81944e7369e12d09af9c3394d6b57
Merge "Make test mysql connection code less confusing"