Please help me out to execute a MySQL Stored procedure in command line, where the procedure contains conditional statements..
Or if you don't want to create a .sql file:
$ mysql -u your_username --password=your_password db_name <