Avoid use-once local.
Make "socket" parameter optional.
Allow providing SQL script by file name.
Add recipes to just wrap mysql.* functions.