过程:
delimiter |
create procedure pro_regs(in username varchar(50),
in pwd varchar(50),
in email varchar(50),
in address varchar(50))
begin
insert into regists
( `user_name` , `user_psd` , `user_email` , `user_address`)
values
(username, pwd, email, address);
end|
有人知道吗?
最佳答案
根据您的描述无法回答,但您可能会发现这有帮助。
Stored routines require the proc table in the mysql database. This table is created during the MySQL 6.0 installation procedure. If you are upgrading to MySQL 6.0 from an earlier version, be sure to update your grant tables to make sure that the proc table exists.
我必须问您是否知道不再开发 MySQL 6 的事实?
The MySQL 6.0 Reference Manual has been retired.
MySQL 6.0 was not developed beyond Alpha status and new releases have not been made for some time, so the manual has been withdrawn as well.
New development is currently focused on MySQL 5.4. For more information, see MySQL 5.4 Reference Manual.
关于mysql - 该程序在 MySQL 5 中有效,但在 MySQL6 中失败,为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1807197/