Fix an issue where connections to passwordless MySQL resources could not be established.