phpmyadminでmysqlのコマンドプロンプトからmysqlのストアドプロシージャを実行したいのですが、ファイルsample.sqlにストアドプロシージャが書かれています。sample.sql の内容は次のとおりです。
DELIMITER //
create procedure sampleproc()
begin
declare x int;
set x=1;
while x<=1000 do
insert into dictionary (word,mean) values('a','a mean');
set x=x+1;
end while
end //
call sampleproc();
コマンドラインを使用してこれを実行するにはどうすればよいですか?