MySQL1303 error solution (navicat) _ MySQL

Source: Internet
Author: User
How to solve MySQL1303 error (navicat) Navicat

BitsCN. com1303-Can't create a PROCEDURE from within another stored routine.
This error message is hard to understand, so it is okay to carefully check the content of the stored procedure. the code is as follows:

Create procedure addData ()
Begin
Declare v int default 0;
While v< 4000000
Do
Insert into TestMemory
Values (v, 'ffffffffffffffffffffffasgeweeeeeeeeeeeeeg ');
Set v = v + 1;
End while;
End

After searching, you will find out that the simple problem is that you do not need this line when creating a stored PROCEDURE using a tool: create procedure addData (), in this way, it is no problem to directly execute the command line. So we removed the first line and solved the problem. BitsCN.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.