Some questions about MySQL and your suggestion to make this script a UDF
  • Can --User and --Password be optional? I presume yes.
  • Can more than one version of MySQL be installed on a host?
  • I presume that if previous answer is "yes", I presume using different ports?