delimiter $$
create procedure procedureyy()
BEGIN
declare i int default 1;
while i <100000 DO
begin
INSERT INTO testdb.t_test VALUES(i,'锤子手机');
set i=i+1;
END;
end while;
END ;
$$
DELIMITER ;