2 ###############################################################################
9 A wrapper around the mysql client. For the Postgres/EG version of this, we
10 were injecting the mig schema as a session variable, but it doesn't look like
11 we can do this through the command line for mysql.
15 B<mig-sql> [arguments...]
19 ###############################################################################
24 HOME MYSQL_HOST MYSQL_TCP_PORT MYSQL_USER MYSQL_DATABASE MYSQL_PW
25 MIGSCHEMA MIGBASEWORKDIR MIGBASEGITDIR MIGGITDIR MIGWORKDIR
31 my $mig_bin = "$FindBin::Bin/";
32 use lib "$FindBin::Bin/";
37 ,'--host=' . $MYSQL_HOST
38 ,'--port=' . $MYSQL_TCP_PORT
39 ,'--user=' . $MYSQL_USER
40 ,'--password=' . $MYSQL_PW
44 system(@MYARGV, @ARGV);