mysql -h hostname -P port_number -u username -p < sql_script_filename