O seguinte funciona no macOS:
{
"cmd": ["/usr/local/mysql/bin/mysql", "-u", "root", "-e", "source $file", "-t"],
"selector": "source.sql"
}
{
"cmd": ["/usr/local/mysql/bin/mysql", "-u", "root", "-e", "source $file", "-t"],
"selector": "source.sql"
}