Please help me out to execute a MySQL Stored procedure in command line, where the procedure contains conditional statements..
Or:
mysql --user=your_username --execute="call stored_procedure_name()" db_name
The same as:
mysql ... -e "call stored_procedure_name()" ...