MySQL SQL execution by one liner
#!/bin/bash mysql -h 127.0.0.1 -P 12345 -uroot -ppassword table_name < sample.sql